Rapid7 Vulnerability & Exploit Database

Sami FTP Server LIST Command Buffer Overflow

Back to Search

Sami FTP Server LIST Command Buffer Overflow



This module exploits a stack based buffer overflow on Sami FTP Server 2.0.1. The vulnerability exists in the processing of LIST commands. In order to trigger the vulnerability, the "Log" tab must be viewed in the Sami FTP Server managing application, in the target machine. On the other hand, the source IP address used to connect with the FTP Server is needed. If the user can't provide it, the module will try to resolve it. This module has been tested successfully on Sami FTP Server 2.0.1 over Windows XP SP3.


  • superkojiman
  • Doug Prostko <dougtko@gmail.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/sami_ftpd_list
msf exploit(sami_ftpd_list) > show targets
msf exploit(sami_ftpd_list) > set TARGET < target-id >
msf exploit(sami_ftpd_list) > show options
    ...show and set options...
msf exploit(sami_ftpd_list) > 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