Description
Integer overflow in the AttemptWrite function in Graphics Rendering Engine (GDI) on Microsoft Windows 2000 SP4, XP SP2, and Server 2003 SP1 allows remote attackers to execute arbitrary code via a crafted metafile (image) with a large record length value, which triggers a heap-based buffer overflow.
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 1
- Microsoft Windows - 'gdi32.dll' Denial of Service (MS07-046) EDB-4337 · dos · Aug 29, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- MS07-046 vendor-advisory
- 20070814 EEYE: Windows Metafile AttemptWrite Heap Overflow mailing-list
- TA07-226A third-party-advisory
- VU#640136 third-party-advisory
- 26423 third-party-advisory
- 1018563 vdb-entry
- 25302 vdb-entry
- ADV-2007-2870 vdb-entry
- oval:org.mitre.oval:def:2088 vdb-entry signature