AllegroSoft RomPager 4.34 and earlier, as used in Huawei Home Gateway products and other vendors and products, allows remote attackers to gain privileges via a crafted cookie that triggers memory corruption, aka the "Misfortune Cookie" vulnerability.
http://www.securityfocus.com/bid/105173
http://www.kb.cert.org/vuls/id/561444
http://www.huawei.com/en/security/psirt/security-bulletins/security-advisories/hw-407666.htm