Rapid7 Vulnerability & Exploit Database

ScriptFTP LIST Remote Buffer Overflow

Back to Search

ScriptFTP LIST Remote Buffer Overflow



AmmSoft's ScriptFTP client is susceptible to a remote buffer overflow vulnerability that is triggered when processing a sufficiently long filename during a FTP LIST command resulting in overwriting the exception handler. Social engineering of executing a specially crafted ftp file by double click will result in connecting to our malicious server and perform arbitrary code execution which allows the attacker to gain the same rights as the user running ScriptFTP. This vulnerability affects versions 3.3 and earlier.


  • modpr0be
  • TecR0c <roccogiovannicalvi@gmail.com>
  • mr_me <steventhomasseeley@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/scriptftp_list
msf exploit(scriptftp_list) > show targets
msf exploit(scriptftp_list) > set TARGET < target-id >
msf exploit(scriptftp_list) > show options
    ...show and set options...
msf exploit(scriptftp_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