Oracle Solaris Critical Patch Update : oct2012_SRU10_5 - Nessus
High Plugin ID: 76829This page contains detailed information about the Oracle Solaris Critical Patch Update : oct2012_SRU10_5 Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.
Plugin Overview
ID: 76829
Name: Oracle Solaris Critical Patch Update : oct2012_SRU10_5
Filename: solaris_oct2012_SRU10_5.nasl
Vulnerability Published: 2012-06-12
This Plugin Published: 2014-07-26
Last Modification Time: 2021-01-14
Plugin Version: 1.9
Plugin Type: local
Plugin Family: Solaris Local Security Checks
Dependencies:
ssh_get_info.nasl
Required KB Items [?]: Host/local_checks_enabled, Host/Solaris11/release
Vulnerability Information
Severity: High
Vulnerability Published: 2012-06-12
Patch Published: 2012-10-16
CVE [?]: CVE-2012-0217, CVE-2012-3204, CVE-2012-3205, CVE-2012-3209
CPE [?]: cpe:/o:oracle:solaris:11.0
Exploited by Malware: True
Synopsis
The remote Solaris system is missing a security patch from CPU oct2012.
Description
This Solaris system is missing necessary patches to address critical security updates :
- Vulnerability in the Solaris component of Oracle Sun Products Suite (subcomponent: Kernel). Supported versions that are affected are 10 and 11. Easily exploitable vulnerability requiring logon to Operating System. Successful attack of this vulnerability can result in unauthorized Operating System takeover including arbitrary code execution. Note: CVE-2012-0217 only affects Solaris instances running on platforms other than SPARC. (CVE-2012-0217)
- Vulnerability in the Solaris component of Oracle Sun Products Suite (subcomponent: Power Management). The supported version that is affected is 11. Easily exploitable vulnerability requiring logon to Operating System. Successful attack of this vulnerability can result in unauthorized Operating System takeover including arbitrary code execution. (CVE-2012-3204)
- Vulnerability in the Solaris component of Oracle Sun Products Suite (subcomponent: Logical Domain(LDOM)). Supported versions that are affected are 10 and 11. Easily exploitable vulnerability requiring logon to Operating System. Successful attack of this vulnerability can result in unauthorized Operating System hang or frequently repeatable crash (complete DOS) as well as update, insert or delete access to some Solaris accessible data. Note: CVE-2012-3209 and CVE-2012-3215 only affects Solaris on the SPARC platform. (CVE-2012-3209)
- Vulnerability in the Solaris component of Oracle Sun Products Suite (subcomponent: Vino server). The supported version that is affected is 11. Easily exploitable vulnerability requiring logon to Operating System. Successful attack of this vulnerability can result in unauthorized update, insert or delete access to some Solaris accessible data. (CVE-2012-3205)
Solution
Install the oct2012 CPU from the Oracle support website.
Public Exploits
Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Immunity Canvas, Core Impact)
Exploit Ease: Exploits are available
Here's the list of publicly known exploits and PoCs for verifying the Oracle Solaris Critical Patch Update : oct2012_SRU10_5 vulnerability:
- Metasploit: exploit/freebsd/local/intel_sysret_priv_esc
[FreeBSD Intel SYSRET Privilege Escalation] - Exploit-DB: exploits/freebsd_x86-64/local/46508.rb
[EDB-46508: FreeBSD - Intel SYSRET Privilege Escalation (Metasploit)] - GitHub: https://github.com/Apri1y/Red-Team-links
[CVE-2012-0217] - GitHub: https://github.com/Ascotbe/Kernelhub
[CVE-2012-0217] - GitHub: https://github.com/Echocipher/Resource-list
[CVE-2012-0217] - GitHub: https://github.com/Flerov/WindowsExploitDev
[CVE-2012-0217] - GitHub: https://github.com/Snoopy-Sec/Localroot-ALL-CVE
[CVE-2012-0217] - GitHub: https://github.com/anoaghost/Localroot_Compile
[CVE-2012-0217] - GitHub: https://github.com/cranelab/exploit-development
[CVE-2012-0217] - GitHub: https://github.com/felixlinker/ifc-rv-thesis
[CVE-2012-0217] - GitHub: https://github.com/hudunkey/Red-Team-links
[CVE-2012-0217] - GitHub: https://github.com/john-80/-007
[CVE-2012-0217] - GitHub: https://github.com/lp008/Hack-readme
[CVE-2012-0217] - GitHub: https://github.com/slimdaddy/RedTeam
[CVE-2012-0217] - GitHub: https://github.com/xiaoZ-hc/redtool
[CVE-2012-0217] - GitHub: https://github.com/ycdxsb/WindowsPrivilegeEscalation
[CVE-2012-0217] - Immunity Canvas: CANVAS
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:L/AC:L/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score: | 7.2 (High) |
Impact Subscore: | 10.0 |
Exploitability Subscore: | 3.9 |
CVSS Temporal Score: | 6.3 (Medium) |
CVSS Environmental Score: | NA (None) |
Modified Impact Subscore: | NA |
Overall CVSS Score: | 6.3 (Medium) |
Go back to menu.
Plugin Source
This is the solaris_oct2012_SRU10_5.nasl nessus plugin source code. This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from the Oracle CPU for oct2012.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(76829);
script_version("1.9");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/14");
script_cve_id("CVE-2012-0217", "CVE-2012-3204", "CVE-2012-3205", "CVE-2012-3209");
script_bugtraq_id(53856, 56034, 56048, 56049);
script_name(english:"Oracle Solaris Critical Patch Update : oct2012_SRU10_5");
script_summary(english:"Check for the oct2012 CPU");
script_set_attribute(
attribute:"synopsis",
value:
"The remote Solaris system is missing a security patch from CPU
oct2012."
);
script_set_attribute(
attribute:"description",
value:
"This Solaris system is missing necessary patches to address critical
security updates :
- Vulnerability in the Solaris component of Oracle Sun
Products Suite (subcomponent: Kernel). Supported
versions that are affected are 10 and 11. Easily
exploitable vulnerability requiring logon to Operating
System. Successful attack of this vulnerability can
result in unauthorized Operating System takeover
including arbitrary code execution. Note: CVE-2012-0217
only affects Solaris instances running on platforms
other than SPARC. (CVE-2012-0217)
- Vulnerability in the Solaris component of Oracle Sun
Products Suite (subcomponent: Power Management). The
supported version that is affected is 11. Easily
exploitable vulnerability requiring logon to Operating
System. Successful attack of this vulnerability can
result in unauthorized Operating System takeover
including arbitrary code execution. (CVE-2012-3204)
- Vulnerability in the Solaris component of Oracle Sun
Products Suite (subcomponent: Logical Domain(LDOM)).
Supported versions that are affected are 10 and 11.
Easily exploitable vulnerability requiring logon to
Operating System. Successful attack of this
vulnerability can result in unauthorized Operating
System hang or frequently repeatable crash (complete
DOS) as well as update, insert or delete access to some
Solaris accessible data. Note: CVE-2012-3209 and
CVE-2012-3215 only affects Solaris on the SPARC
platform. (CVE-2012-3209)
- Vulnerability in the Solaris component of Oracle Sun
Products Suite (subcomponent: Vino server). The
supported version that is affected is 11. Easily
exploitable vulnerability requiring logon to Operating
System. Successful attack of this vulnerability can
result in unauthorized update, insert or delete access
to some Solaris accessible data. (CVE-2012-3205)"
);
script_set_attribute(
attribute:"see_also",
value:"https://support.oracle.com/epmos/faces/DocumentDisplay?id=1475188.1"
);
# https://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/1865039.xml
script_set_attribute(
attribute:"see_also",
value:"http://www.nessus.org/u?6c6537c6"
);
script_set_attribute(
attribute:"solution",
value:"Install the oct2012 CPU from the Oracle support website."
);
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C");
script_set_cvss_temporal_vector("CVSS2#E:H/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:"exploited_by_malware", value:"true");
script_set_attribute(attribute:"metasploit_name", value:'FreeBSD Intel SYSRET Privilege Escalation');
script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
script_set_attribute(attribute:"canvas_package", value:'CANVAS');
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:solaris:11.0");
script_set_attribute(attribute:"vuln_publication_date", value:"2012/06/12");
script_set_attribute(attribute:"patch_publication_date", value:"2012/10/16");
script_set_attribute(attribute:"plugin_publication_date", value:"2014/07/26");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2014-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Solaris Local Security Checks");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/Solaris11/release");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("solaris.inc");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/Solaris11/release");
if (isnull(release)) audit(AUDIT_OS_NOT, "Solaris11");
fix_release = "0.5.11-0.175.0.10.0.5.0";
flag = 0;
if (solaris_check_release(release:"0.5.11-0.175.0.10.0.5.0", sru:"11/11 SRU 10.5") > 0) flag++;
if (flag)
{
if (report_verbosity > 0) security_hole(port:0, extra:solaris_get_report2());
else security_hole(0);
exit(0);
}
audit(AUDIT_OS_RELEASE_NOT, "Solaris", fix_release, release);
The latest version of this script can be found in these locations depending on your platform:
- Linux / Unix:
/opt/nessus/lib/nessus/plugins/solaris_oct2012_SRU10_5.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\solaris_oct2012_SRU10_5.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/solaris_oct2012_SRU10_5.nasl
Go back to menu.
How to Run
Here is how to run the Oracle Solaris Critical Patch Update : oct2012_SRU10_5 as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Solaris Local Security Checks plugin family.
- On the right side table select Oracle Solaris Critical Patch Update : oct2012_SRU10_5 plugin ID 76829.
- Specify the target on the Settings tab and click to Save the scan.
- 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 solaris_oct2012_SRU10_5.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a solaris_oct2012_SRU10_5.nasl -t <IP/HOST>
Run the plugin with trace script execution written to the console (useful for debugging):
/opt/nessus/bin/nasl -T - solaris_oct2012_SRU10_5.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 solaris_oct2012_SRU10_5.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: See also:
- https://www.tenable.com/plugins/nessus/76829
- https://support.oracle.com/epmos/faces/DocumentDisplay?id=1475188.1
- http://www.nessus.org/u?6c6537c6
- https://vulners.com/nessus/SOLARIS_OCT2012_SRU10_5.NASL
- 59479 - CentOS 5 : kernel (CESA-2012:0721)
- 59779 - Debian DSA-2501-1 : xen - several vulnerabilities
- 60088 - Debian DSA-2508-1 : kfreebsd-8 - privilege escalation
- 59748 - FreeBSD : FreeBSD -- Privilege escalation when returning from kernel (aed44c4e-c067-11e1-b5e0-000c299b62e1)
- 70184 - GLSA-201309-24 : Xen: Multiple vulnerabilities
- 74682 - openSUSE Security Update : xen (openSUSE-SU-2012:0886-1)
- 74683 - openSUSE Security Update : xen (openSUSE-2012-404)
- 68539 - Oracle Linux 5 : kernel (ELSA-2012-0721-1)
- 68540 - Oracle Linux 5 : kernel (ELSA-2012-0721)
- 79476 - OracleVM 3.0 : xen (OVMSA-2012-0020)
- 79477 - OracleVM 3.1 : xen (OVMSA-2012-0021)
- 79478 - OracleVM 2.2 : xen (OVMSA-2012-0022)
- 64039 - RHEL 5 : kernel (RHSA-2012:0720)
- 59467 - RHEL 5 : kernel (RHSA-2012:0721)
- 61326 - Scientific Linux Security Update : kernel on SL5.x i386/x86_64 (20120612)
- 59460 - MS12-042: Vulnerabilities in Windows Kernel Could Allow Elevation of Privilege (2711167)
- 64233 - SuSE 11.1 Security Update : Xen (SAT Patch Number 6399)
- 59469 - SuSE 10 Security Update : Xen (ZYPP Patch Number 8180)
- 68573 - Oracle Linux 5 : kernel (ELSA-2012-1061-1)
- 68574 - Oracle Linux 5 : kernel (ELSA-2012-1061)
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file solaris_oct2012_SRU10_5.nasl version 1.9. For more plugins, visit the Nessus Plugin Library.
Go back to menu.