Rapid7 Vulnerability & Exploit Database

Serv-U FTPD MDTM Overflow

Back to Search

Serv-U FTPD MDTM Overflow



This is an exploit for the Serv-U\'s MDTM command timezone overflow. It has been heavily tested against versions with success against nt4/2k/xp/2k3. I have also had success against version 3, but only tested 1 version/os. The bug is in all versions prior to, but this exploit will not work against versions not listed above. You only get one shot, but it should be OS/SP independent. This exploit is a single hit, the service dies after the shellcode finishes execution.


  • spoonm <spoonm@no$email.com>




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