Rapid7 Vulnerability & Exploit Database

D-Link TFTP 1.0 Long Filename Buffer Overflow

Back to Search

D-Link TFTP 1.0 Long Filename Buffer Overflow

Disclosed
03/12/2007
Created
05/30/2018

Description

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).

Author(s)

  • LSO <lso@hushmail.com>
  • aushack <patrick@osisecurity.com.au>

Platform

Windows

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/tftp/dlink_long_filename
msf exploit(dlink_long_filename) > show targets
    ...targets...
msf exploit(dlink_long_filename) > set TARGET < target-id >
msf exploit(dlink_long_filename) > show options
    ...show and set options...
msf exploit(dlink_long_filename) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;