Rapid7 Vulnerability & Exploit Database

TFTPD32 Long Filename Buffer Overflow

Back to Search

TFTPD32 Long Filename Buffer Overflow

Disclosed
11/19/2002
Created
05/30/2018

Description

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.

Author(s)

  • MC <mc@metasploit.com>

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/tftpd32_long_filename
msf exploit(tftpd32_long_filename) > show targets
    ...targets...
msf exploit(tftpd32_long_filename) > set TARGET < target-id >
msf exploit(tftpd32_long_filename) > show options
    ...show and set options...
msf exploit(tftpd32_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

;