Description
Heap-based buffer overflow in the CreateDIBPatternBrushPt function in GDI in Microsoft Windows 2000 SP4, XP SP2, Server 2003 SP1 and SP2, Vista, and Server 2008 allows remote attackers to execute arbitrary code via an EMF or WMF image file with a malformed header that triggers an integer overflow, aka "GDI Heap Overflow Vulnerability."
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 3
- Microsoft Windows - GDI (EMR_COLORMATCHTOTARGETW) (MS08-021) EDB-6656 · remote · Oct 2, 2008 · verified
- Microsoft Windows - GDI (CreateDIBPatternBrushPt) Heap Overflow (PoC) EDB-6330 · dos · Aug 29, 2008 · verified
- Microsoft Windows - GDI Image Parsing Stack Overflow (MS08-021) EDB-5442 · local · Apr 14, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 30933 vdb-entry
- TA08-099A third-party-advisory
- 44213 vdb-entry
- SSRT080048 vendor-advisory
- ADV-2008-1145 vdb-entry
- 948590 vendor-advisory
- 20080408 ZDI-08-020: Microsoft GDI WMF Parsing Heap Overflow Vulnerability mailing-list
- 20080408 Microsoft Windows Graphics Rendering Engine Integer Overflow Vulnerability third-party-advisory
- MS08-021 vendor-advisory
- 44214 vdb-entry
- http://www.zerodayinitiative.com/advisories/ZDI-08-020/
- VU#632963 third-party-advisory
- 20080408 ZDI-08-020: Microsoft GDI WMF Parsing Heap Overflow Vulnerability mailing-list
- 5442 exploit
- 6330 exploit
- win-emf-wmf-header-bo(41471) vdb-entry
- 1019798 vdb-entry
- oval:org.mitre.oval:def:5441 vdb-entry signature
- 28571 vdb-entry
- 29704 third-party-advisory