Rapid7 Vulnerability & Exploit Database

Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)

Back to Search

Windows ANI LoadAniIcon() Chunk Size Stack Buffer Overflow (SMTP)

Disclosed
03/28/2007
Created
05/30/2018

Description

This module exploits a buffer overflow vulnerability in the LoadAniIcon() function of USER32.dll. The flaw is triggered through Outlook Express by using the CURSOR style sheet directive to load a malicious .ANI file. This vulnerability was discovered by Alexander Sotirov of Determina and was rediscovered, in the wild, by McAfee.

Author(s)

  • hdm <x@hdm.io>
  • skape <mmiller@hick.org>

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/email/ms07_017_ani_loadimage_chunksize
msf exploit(ms07_017_ani_loadimage_chunksize) > show targets
    ...targets...
msf exploit(ms07_017_ani_loadimage_chunksize) > set TARGET < target-id >
msf exploit(ms07_017_ani_loadimage_chunksize) > show options
    ...show and set options...
msf exploit(ms07_017_ani_loadimage_chunksize) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;