Description
Stack-based buffer overflow in the animated cursor code in Microsoft Windows 2000 SP4 through Vista allows remote attackers to execute arbitrary code or cause a denial of service (persistent reboot) via a large length value in the second (or later) anih block of a RIFF .ANI, cur, or .ico file, which results in memory corruption when processing cursors, animated cursors, and icons, a variant of CVE-2005-0416, as originally demonstrated using Internet Explorer 6 and 7. NOTE: this might be a duplicate of CVE-2007-1765; if so, then CVE-2007-0038 should be preferred.
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.
Metasploit 2 modules
-
Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)
exploit/windows/email/ms07_017_ani_loadimage_chunksize
-
Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP)
exploit/windows/browser/ms07_017_ani_loadimage_chunksize
Exploit-DB 15
- Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP) (MS07-017) (Metasploit) EDB-16698 · remote · Sep 20, 2010 · verified
- Microsoft Windows - ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (HTTP) (MS07-017) (Metasploit) EDB-16526 · remote · Aug 12, 2010 · verified
- Microsoft Windows - Animated Cursor Stack Overflow EDB-4045 · remote · Jun 7, 2007 · verified
- Microsoft Windows - '.ani' GDI Remote Privilege Escalation (MS07-017) EDB-3804 · remote · Apr 26, 2007 · verified
- Microsoft Windows - GDI Privilege Escalation (MS07-017) (2) EDB-3755 · local · Apr 17, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Local Overflow EDB-3695 · local · Apr 9, 2007 · verified
- Microsoft Windows Explorer - '.ANI' File Denial of Service EDB-3684 · dos · Apr 8, 2007 · verified
- Microsoft Windows - GDI Privilege Escalation (MS07-017) (1) EDB-3688 · local · Apr 8, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Universal Generator EDB-3651 · remote · Apr 3, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Local Overflow (Hardware DEP) EDB-3652 · local · Apr 3, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Local Buffer Overflow EDB-3647 · local · Apr 2, 2007 · verified
- Microsoft Windows XP/Vista - Animated Cursor '.ani' Remote Overflow EDB-3634 · remote · Apr 1, 2007 · verified
- Microsoft Windows XP - Animated Cursor '.ani' Remote Overflow (2) EDB-3635 · remote · Apr 1, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Remote (eeye patch Bypass) EDB-3636 · remote · Apr 1, 2007 · verified
- Microsoft Windows - Animated Cursor '.ani' Local Stack Overflow EDB-3617 · local · Mar 31, 2007 · verified
GitHub 1 repository
-
Axua/CVE-2007-0038 ★ 1 · Nov 29, 2019
IE7 buffer overflow through an ANI file
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- TA07-093A third-party-advisory
- ADV-2007-1215 vdb-entry
- 2542 third-party-advisory
- 20070330 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) mailing-list
- oval:org.mitre.oval:def:1854 vdb-entry signature
- 20070331 RE: [Full-disclosure] 0-day ANI vulnerability in Microsoft Windows(CVE-2007-0038) mailing-list
- VU#191609 third-party-advisory
- HPSBST02206 vendor-advisory
- 24659 third-party-advisory
- TA07-089A third-party-advisory
- win-ani-code-execution(33301) vdb-entry
- 20070402 MS announces out-of-band patch for ANI 0day mailing-list
- http://www.determina.com/security_center/security_advisories/securityadvisory_0day_032907.asp
- MS07-017 vendor-advisory
- TA07-100A third-party-advisory
- 33629 vdb-entry
- 20070402 More information on ZERT patch for ANI 0day mailing-list
- 20070330 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) mailing-list
- 20070331 Re: 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) mailing-list
- 20070330 Re: 0-day ANI vulnerability in Microsoft Windows (CVE-2007-0038) mailing-list