CVE-2009-3050
Htmldoc vulnerability
Buffer overflow in the set_page_size function in util.cxx in HTMLDOC 1.8.27 and earlier allows context-dependent attackers to execute arbitrary code via a long MEDIA SIZE comment. NOTE: it was later reported that there were additional vectors in htmllib.cxx and ps-pdf.cxx using an AFM font file with a long glyph name, but these vectors do not cross privilege boundaries.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Htmldoc. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Htmldoc runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/35780 · Vendor Advisory
- bugs.gentoo.org/show_bug.cgi?id=278186 · Exploit
- packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt · Exploit
- www.htmldoc.org/str.php?L214 · Exploit
- www.openwall.com/lists/oss-security/2009/07/25/3
- www.openwall.com/lists/oss-security/2009/07/26/2
- www.openwall.com/lists/oss-security/2009/09/01/1
- nvd.nist.gov/vuln/detail/CVE-2009-3050
- cve.org/CVERecord?id=CVE-2009-3050
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.