Microsoft GDI WMF Parsing Heap Overflow VulnerabilityZDI-08-020: April 8th, 2008
Windows XP SP2
Windows 2003 SP1
Windows 2000 SP4
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Windows. User interaction is required in that a user must open a malicious file or visit a malicious web page.
The specific flaw exists within the parsing of malformed WMF files. A vulnerability exists in the GDI funcion CreateDIBPatternBrushPt used when processing WMF files. Due to a mis-calculation of user data a heap chunk can be under-allocated and later used resulting in a heap overflow. Successful exploitation can result in system compromise under the credentials of the currently logged in user.
Vendor ResponseMicrosoft has issued an update to correct this vulnerability. More details can be found at:
2008-02-07 - Vulnerability reported to vendor
2008-04-08 - Coordinated public release of advisory
CreditThis vulnerability was discovered by:
Sebastian Apelt (firstname.lastname@example.org)