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.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://packetstormsecurity.org/0907-exploits/htmldoc-overflow.txt | exploit |
http://www.openwall.com/lists/oss-security/2009/09/01/1 | mailing list |
http://secunia.com/advisories/35780 | third party advisory vendor advisory |
http://www.htmldoc.org/str.php?L214 | exploit |
http://bugs.gentoo.org/show_bug.cgi?id=278186 | exploit |
http://www.openwall.com/lists/oss-security/2009/07/25/3 | mailing list |
http://www.openwall.com/lists/oss-security/2009/07/26/2 | mailing list |