OracleVM 2.2 : ovs-agent (OVMSA-2010-0015) - Nessus

High   Plugin ID: 68878

This page contains detailed information about the OracleVM 2.2 : ovs-agent (OVMSA-2010-0015) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 68878
Name: OracleVM 2.2 : ovs-agent (OVMSA-2010-0015)
Filename: oraclevm_OVMSA-2010-0015.nasl
Vulnerability Published: 2010-10-14
This Plugin Published: 2013-07-15
Last Modification Time: 2021-01-14
Plugin Version: 1.12
Plugin Type: local
Plugin Family: OracleVM Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/local_checks_enabled, Host/OracleVM/release, Host/OracleVM/rpm-list

Vulnerability Information


Severity: High
Vulnerability Published: 2010-10-14
Patch Published: 2010-10-18
CVE [?]: CVE-2010-3582, CVE-2010-3583, CVE-2010-3584, CVE-2010-3585
CPE [?]: cpe:/o:oracle:vm_server:2.2, p-cpe:/a:oracle:vm:ovs-agent

Synopsis

The remote OracleVM host is missing a security update.

Description

The remote OracleVM system is missing necessary patches to address critical security updates :

- Update changelog, fill CVE number.

- Fix config-file access mode issue.

- Fix file access vulnerability [orabug 10142417] (CVE-2010-3582)

- Fix local privilege escalation [orabug 10142476] (CVE-2010-3584)

- Fix ovs agent command injection [orabug 10146644] (CVE-2010-3585)

- Fix validate master ip command injection [orabug 10142448] (CVE-2010-3583)

- Add excutable mode to utils/upgrade.py.

Solution

Update the affected ovs-agent package.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the OracleVM 2.2 : ovs-agent (OVMSA-2010-0015) vulnerability:

  1. Metasploit: exploit/unix/webapp/oracle_vm_agent_utl
    [Oracle VM Server Virtual Server Agent Command Injection]
  2. Exploit-DB: exploits/linux/remote/16915.rb
    [EDB-16915: Oracle VM Server Virtual Server Agent - Command Injection (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:S/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:9.0 (High)
Impact Subscore:10.0
Exploitability Subscore:8.0
CVSS Temporal Score:7.4 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.4 (High)
STIG Severity [?]: II
STIG Risk Rating: Medium

Go back to menu.

Plugin Source


This is the oraclevm_OVMSA-2010-0015.nasl nessus plugin source code. This script is Copyright (C) 2013-2021 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The package checks in this plugin were extracted from OracleVM
# Security Advisory OVMSA-2010-0015.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(68878);
  script_version("1.12");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/14");

  script_cve_id("CVE-2010-3582", "CVE-2010-3583", "CVE-2010-3584", "CVE-2010-3585");
  script_bugtraq_id(44031, 44043, 44044, 44047);
  script_xref(name:"IAVA", value:"2010-A-0151");

  script_name(english:"OracleVM 2.2 : ovs-agent (OVMSA-2010-0015)");
  script_summary(english:"Checks the RPM output for the updated package.");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote OracleVM host is missing a security update."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"The remote OracleVM system is missing necessary patches to address
critical security updates :

  - Update changelog, fill CVE number.

  - Fix config-file access mode issue.

  - Fix file access vulnerability [orabug 10142417]
    (CVE-2010-3582)

  - Fix local privilege escalation [orabug 10142476]
    (CVE-2010-3584)

  - Fix ovs agent command injection [orabug 10146644]
    (CVE-2010-3585)

  - Fix validate master ip command injection [orabug
    10142448] (CVE-2010-3583)

  - Add excutable mode to utils/upgrade.py."
  );
  # https://oss.oracle.com/pipermail/oraclevm-errata/2010-October/000056.html
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?f5790f09"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Update the affected ovs-agent package."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Oracle VM Server Virtual Server Agent Command Injection');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:vm:ovs-agent");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:vm_server:2.2");

  script_set_attribute(attribute:"vuln_publication_date", value:"2010/10/14");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/10/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/15");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2013-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"OracleVM Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/OracleVM/release", "Host/OracleVM/rpm-list");

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("rpm.inc");

if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/OracleVM/release");
if (isnull(release) || "OVS" >!< release) audit(AUDIT_OS_NOT, "OracleVM");
if (! preg(pattern:"^OVS" + "2\.2" + "(\.[0-9]|$)", string:release)) audit(AUDIT_OS_NOT, "OracleVM 2.2", "OracleVM " + release);
if (!get_kb_item("Host/OracleVM/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "OracleVM", cpu);

flag = 0;
if (rpm_check(release:"OVS2.2", reference:"ovs-agent-2.3-42")) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
  else security_hole(0);
  exit(0);
}
else
{
  tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "ovs-agent");
}

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/oraclevm_OVMSA-2010-0015.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\oraclevm_OVMSA-2010-0015.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/oraclevm_OVMSA-2010-0015.nasl

Go back to menu.

How to Run


Here is how to run the OracleVM 2.2 : ovs-agent (OVMSA-2010-0015) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select OracleVM Local Security Checks plugin family.
  6. On the right side table select OracleVM 2.2 : ovs-agent (OVMSA-2010-0015) plugin ID 68878.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl oraclevm_OVMSA-2010-0015.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a oraclevm_OVMSA-2010-0015.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - oraclevm_OVMSA-2010-0015.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state oraclevm_OVMSA-2010-0015.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: IAVA | Information Assurance Vulnerability Alert:
  • 2010-A-0151
See also: Similar and related Nessus plugins:
  • 150475 - OracleVM 3.4 : openssl (OVMSA-2021-0011)
  • 150906 - OracleVM 3.4 : dhclient (OVMSA-2021-0018)
  • 151049 - OracleVM 3.4 : xen (OVMSA-2021-0020)
  • 151464 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0022)
  • 152045 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0023)
  • 152398 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0025)
  • 153221 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0030)
  • 153582 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0031)
  • 154015 - OracleVM 3.4 : xen (OVMSA-2021-0033)
  • 154016 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0035)
  • 154858 - OracleVM 3.4 : kernel-uek (OVMSA-2021-0036)
  • 155945 - OracleVM 3.4 : nss (OVMSA-2021-0040)
  • 156598 - OracleVM 3.4 : kernel-uek (OVMSA-2022-0005)
  • 158121 - OracleVM 3.4 : polkit (OVMSA-2022-0006)
  • 158127 - OracleVM 3.4 : kernel-uek (OVMSA-2022-0007)
  • 159526 - OracleVM 3.4 : cyrus-sasl (OVMSA-2022-0010)
  • 160505 - OracleVM 3.4 : kernel-uek (OVMSA-2022-0014)
  • 78237 - OracleVM 3.3 : bash (OVMSA-2014-0021)
  • 78238 - OracleVM 3.2 : bash (OVMSA-2014-0022)
  • 78239 - OracleVM 2.2 : bash (OVMSA-2014-0024)
  • 79445 - OracleVM 2.1 : kernel (OVMSA-2008-2002)
  • 79454 - OracleVM 2.1 : udev (OVMSA-2009-0006)
  • 79456 - OracleVM 2.1 : kernel (OVMSA-2009-0009)
  • 79462 - OracleVM 2.1 : libxml2 (OVMSA-2009-0018)
  • 79464 - OracleVM 2.1 : dnsmasq (OVMSA-2009-0022)
  • 79465 - OracleVM 2.1 : kernel (OVMSA-2009-0023)
  • 79467 - OracleVM 2.1 : libtiff (OVMSA-2009-0027)
  • 79470 - OracleVM 2.2 : kernel (OVMSA-2009-0033)
  • 79475 - OracleVM 2.2 : krb5 (OVMSA-2011-0015)
  • 79476 - OracleVM 3.0 : xen (OVMSA-2012-0020)
  • 79477 - OracleVM 3.1 : xen (OVMSA-2012-0021)
  • 79478 - OracleVM 2.2 : xen (OVMSA-2012-0022)
  • 79490 - OracleVM 3.0 : xen (OVMSA-2012-0056)
  • 79491 - OracleVM 3.1 : xen (OVMSA-2012-0057)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file oraclevm_OVMSA-2010-0015.nasl version 1.12. For more plugins, visit the Nessus Plugin Library.

Go back to menu.