Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) - Nessus

High   Plugin ID: 45379

This page contains detailed information about the Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 45379
Name: Oracle Java SE Multiple Vulnerabilities (March 2010 CPU)
Filename: oracle_java_cpu_mar_2010.nasl
Vulnerability Published: 2010-03-30
This Plugin Published: 2010-03-30
Last Modification Time: 2022-04-11
Plugin Version: 1.24
Plugin Type: local
Plugin Family: Windows
Dependencies: sun_java_jre_installed.nasl
Required KB Items [?]: SMB/Java/JRE/Installed

Vulnerability Information


Severity: High
Vulnerability Published: 2010-03-30
Patch Published: 2010-03-30
CVE [?]: CVE-2009-3555, CVE-2009-3910, CVE-2010-0082, CVE-2010-0084, CVE-2010-0085, CVE-2010-0087, CVE-2010-0088, CVE-2010-0089, CVE-2010-0090, CVE-2010-0091, CVE-2010-0092, CVE-2010-0093, CVE-2010-0094, CVE-2010-0095, CVE-2010-0837, CVE-2010-0838, CVE-2010-0839, CVE-2010-0840, CVE-2010-0841, CVE-2010-0842, CVE-2010-0843, CVE-2010-0844, CVE-2010-0845, CVE-2010-0846, CVE-2010-0847, CVE-2010-0848, CVE-2010-0849, CVE-2010-0850
CPE [?]: cpe:/a:oracle:jre
Exploited by Malware: True

Synopsis

The remote Windows host contains a runtime environment that is affected by multiple vulnerabilities.

Description

The version of Oracle (formerly Sun) Java Runtime Environment (JRE) installed on the remote host is earlier than 6 Update 19 / 5.0 Update 24 / 1.4.2_26. Such versions are potentially affected by security issues in the following components :

- ImageIO - Java 2D - JRE - Java Web Start, Java Plug-in - Pack200 - Sound - JSSE - HotSpot Server

Solution

Update to JDK / JRE 6 Update 19, JDK 5.0 Update 24, SDK 1.4.2_26 or later and remove if necessary any affected versions.

Note that an Extended Support contract with Oracle is needed to obtain JDK 5.0 Update 24 or later.

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 Java SE Multiple Vulnerabilities (March 2010 CPU) vulnerability:

  1. Metasploit: exploit/windows/browser/java_mixer_sequencer
    [Java MixerSequencer Object GM_Song Structure Handling Vulnerability]
  2. Metasploit: exploit/multi/browser/java_rmi_connection_impl
    [Java RMIConnectionImpl Deserialization Privilege Escalation]
  3. Metasploit: exploit/multi/browser/java_trusted_chain
    [Java Statement.invoke() Trusted Method Chain Privilege Escalation]
  4. Exploit-DB: exploits/multiple/remote/10579.py
    [EDB-10579: TLS - Renegotiation]
  5. Exploit-DB: exploits/windows/remote/15056.py
    [EDB-15056: Java 6.19 CMM readMabCurveData - Remote Stack Overflow]
  6. Exploit-DB: exploits/multiple/remote/16297.rb
    [EDB-16297: Java - 'Statement.invoke()' Trusted Method Chain (Metasploit)]
  7. Exploit-DB: exploits/multiple/remote/16305.rb
    [EDB-16305: Java - RMIConnectionImpl Deserialization Privilege Escalation (Metasploit)]
  8. Exploit-DB: exploits/windows/remote/18485.rb
    [EDB-18485: Java MixerSequencer Object - GM_Song Structure Handling (Metasploit)]
  9. GitHub: https://github.com/GiJ03/ReconScan
    [CVE-2009-3555]
  10. GitHub: https://github.com/RedHatProductSecurity/CVE-HOWTO
    [CVE-2009-3555]
  11. GitHub: https://github.com/RoliSoft/ReconScan
    [CVE-2009-3555]
  12. GitHub: https://github.com/ekiojp/hanase
    [CVE-2009-3555]
  13. GitHub: https://github.com/galeone/letsencrypt-lighttpd
    [CVE-2009-3555]
  14. GitHub: https://github.com/issdp/test
    [CVE-2009-3555]
  15. GitHub: https://github.com/johnwchadwick/cve-2009-3555-test-server
    [CVE-2009-3555: A TLS server using a vendored fork of the Go TLS stack that has renegotation ...]
  16. GitHub: https://github.com/matoweb/Enumeration-Script
    [CVE-2009-3555]
  17. GitHub: https://github.com/withdk/pulse-secure-vpn-mitm-research
    [CVE-2009-3555]
  18. GitHub: https://github.com/offensive-security/exploitdb-bin-sploits/blob/master/bin-sploits/15056.zip
    [EDB-15056]
  19. 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:N/AC:L/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:H/RL:O/RC:C
CVSS Base Score:7.3 (High)
Impact Subscore:3.4
Exploitability Subscore:3.9
CVSS Temporal Score:7.0 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.0 (High)

Go back to menu.

Plugin Source


This is the oracle_java_cpu_mar_2010.nasl nessus plugin source code. This script is Copyright (C) 2010-2022 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

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

if (description)
{
  script_id(45379);
  script_version("1.24");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id(
    "CVE-2009-3555",
    "CVE-2009-3910",
    "CVE-2010-0082",
    "CVE-2010-0084",
    "CVE-2010-0085",
    "CVE-2010-0087",
    "CVE-2010-0088",
    "CVE-2010-0089",
    "CVE-2010-0090",
    "CVE-2010-0091",
    "CVE-2010-0092",
    "CVE-2010-0093",
    "CVE-2010-0094",
    "CVE-2010-0095",
    "CVE-2010-0837",
    "CVE-2010-0838",
    "CVE-2010-0839",
    "CVE-2010-0840",
    "CVE-2010-0841",
    "CVE-2010-0842",
    "CVE-2010-0843",
    "CVE-2010-0844",
    "CVE-2010-0845",
    "CVE-2010-0846",
    "CVE-2010-0847",
    "CVE-2010-0848",
    "CVE-2010-0849",
    "CVE-2010-0850"
  );
  script_bugtraq_id(
    36935,
    38973,
    39062,
    39065,
    39067,
    39068,
    39069,
    39070,
    39071,
    39072,
    39073,
    39075,
    39077,
    39078,
    39081,
    39082,
    39083,
    39084,
    39085,
    39086,
    39088,
    39089,
    39090,
    39091,
    39093,
    39094,
    39095,
    39096,
    39559
  );

  script_name(english:"Oracle Java SE Multiple Vulnerabilities (March 2010 CPU)");

  script_set_attribute(attribute:"synopsis", value:
"The remote Windows host contains a runtime environment that is
affected by multiple vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Oracle (formerly Sun) Java Runtime Environment (JRE)
installed on the remote host is earlier than 6 Update 19 / 5.0 Update
24 / 1.4.2_26. Such versions are potentially affected by security
issues in the following components :

  - ImageIO
   - Java 2D
   - JRE
   - Java Web Start, Java Plug-in
   - Pack200
   - Sound
   - JSSE
   - HotSpot Server");
  # http://www.oracle.com/technology/deploy/security/critical-patch-updates/javacpumar2010.html
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b93c78e2");
  script_set_attribute(attribute:"see_also", value:"http://www.oracle.com/technetwork/java/eol-135779.html");
  script_set_attribute(attribute:"solution", value:
"Update to JDK / JRE 6 Update 19, JDK 5.0 Update 24, SDK 1.4.2_26 or
later and remove if necessary any affected versions.

Note that an Extended Support contract with Oracle is needed to obtain
JDK 5.0 Update 24 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/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:'Java MixerSequencer Object GM_Song Structure Handling Vulnerability');
  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_cwe_id(310);

  script_set_attribute(attribute:"vuln_publication_date", value:"2010/03/30");
  script_set_attribute(attribute:"patch_publication_date", value:"2010/03/30");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/03/30");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:jre");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Windows");

  script_copyright(english:"This script is Copyright (C) 2010-2022 Tenable Network Security, Inc.");

  script_dependencies("sun_java_jre_installed.nasl");
  script_require_keys("SMB/Java/JRE/Installed");

  exit(0);
}

include("global_settings.inc");
include("misc_func.inc");

# Check each installed JRE.
installs = get_kb_list("SMB/Java/JRE/*");
if (isnull(installs)) exit(1, "The 'SMB/Java/JRE/' KB item is missing.");

info = "";
vuln = 0;
installed_versions = "";

foreach install (list_uniq(keys(installs)))
{
  ver = install - "SMB/Java/JRE/";
  if (ver =~ "^[0-9.]+")
    installed_versions = installed_versions + " & " + ver;
  if (
    ver =~ "^1\.6\.0_(0[0-9]|1[0-8])([^0-9]|$)" ||
    ver =~ "^1\.5\.0_([01][0-9]|2[0-3])([^0-9]|$)" ||
    ver =~ "^1\.4\.([01]_|2_([01][0-9]|2[0-5]([^0-9]|$)))" ||
    ver =~ "^1\.3\.(0_|1_([01][0-9]|2[0-7]([^0-9]|$)))"
  )
  {
    dirs = make_list(get_kb_list(install));
    vuln += max_index(dirs);

    foreach dir (dirs)
      info += '\n  Path              : ' + dir;

    info += '\n  Installed version : ' + ver;
    info += '\n  Fixed version     : 1.6.0_19 / 1.5.0_24 / 1.4.2_26\n';
  }
}

# Report if any were found to be vulnerable.
if (info)
{
  port = get_kb_item("SMB/transport");
  if (!port) port = 445;

  if (report_verbosity > 0)
  {
    if (vuln > 1) s = "s of Java are";
    else s = " of Java is";

    report =
      '\n' +
      'The following vulnerable instance'+s+' installed on the\n' +
      'remote host :\n' +
      info;
    security_hole(port:port, extra:report);
  }
  else security_hole(port);
  exit(0);
}
else
{
  installed_versions = substr(installed_versions, 3);
  if (" & " >< installed_versions)
    exit(0, "The Java "+installed_versions+" installs on the remote host are not affected.");
  else
    exit(0, "The Java "+installed_versions+" install on the remote host is not affected.");
}

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

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

Go back to menu.

How to Run


Here is how to run the Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) 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 Windows plugin family.
  6. On the right side table select Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) plugin ID 45379.
  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 oracle_java_cpu_mar_2010.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a oracle_java_cpu_mar_2010.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - oracle_java_cpu_mar_2010.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 oracle_java_cpu_mar_2010.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CWE | Common Weakness Enumeration:
  • CWE-310 (Category) Cryptographic Issues
See also: Similar and related Nessus plugins:
  • 64842 - Oracle Java SE Multiple Vulnerabilities (March 2010 CPU) (Unix)
  • 43597 - RHEL 4 / 5 : java-1.6.0-ibm (RHSA-2009:1694)
  • 43603 - Fedora 11 : proftpd-1.3.2c-1.fc11 (2009-13236)
  • 43604 - Fedora 12 : proftpd-1.3.2c-1.fc12 (2009-13250)
  • 44095 - Mac OS X Multiple Vulnerabilities (Security Update 2010-001)
  • 44799 - Debian DSA-1934-1 : apache2 - multiple issues
  • 44960 - Opera < 10.50 Multiple Vulnerabilities
  • 44974 - RHEL 4 / 5 : java-1.5.0-ibm (RHSA-2010:0130)
  • 45004 - Apache 2.2.x < 2.2.15 Multiple Vulnerabilities
  • 45007 - Slackware 12.0 / 12.1 / 12.2 / 13.0 / current : httpd (SSA:2010-067-01)
  • 45039 - OpenSSL < 0.9.8m Multiple Vulnerabilities
  • 45133 - Firefox 3.6.x < 3.6.2 Multiple Vulnerabilities
  • 45346 - CentOS 3 / 4 : openssl (CESA-2010:0163)
  • 45362 - CentOS 5 : openssl (CESA-2010:0162)
  • 45363 - CentOS 5 : openssl097a (CESA-2010:0164)
  • 45364 - CentOS 4 / 5 : nss (CESA-2010:0165)
  • 45365 - CentOS 5 : gnutls (CESA-2010:0166)
  • 45366 - CentOS 4 : gnutls (CESA-2010:0167)
  • 45382 - FreeBSD : mozilla -- multiple vulnerabilities (9ccfee39-3c3b-11df-9edc-000f20797ede)
  • 45385 - SuSE 10 Security Update : OpenSSL (ZYPP Patch Number 6943)
  • 45393 - Firefox < 3.5.9 Multiple Vulnerabilities
  • 45394 - Mozilla Thunderbird < 3.0.4 Multiple Vulnerabilities
  • 45395 - SeaMonkey < 2.0.4 Multiple Vulnerabilities
  • 45401 - SuSE9 Security Update : OpenSSL (YOU Patch Number 12606)
  • 45444 - CentOS 3 / 4 : seamonkey (CESA-2010:0333)
  • 45449 - Mandriva Linux Security Advisory : nss (MDVSA-2010:069)
  • 45454 - openSUSE Security Update : java-1_6_0-sun (java-1_6_0-sun-2228)
  • 45459 - openSUSE Security Update : java-1_6_0-sun (java-1_6_0-sun-2228)
  • 45460 - openSUSE Security Update : libopenssl-devel (libopenssl-devel-2232)
  • 45465 - openSUSE Security Update : java-1_6_0-sun (java-1_6_0-sun-2228)
  • 45466 - openSUSE Security Update : libopenssl-devel (libopenssl-devel-2232)
  • 45474 - Ubuntu 8.04 LTS / 8.10 / 9.04 / 9.10 : openjdk-6 vulnerabilities (USN-923-1)
  • 45485 - Ubuntu 9.10 : nss vulnerability (USN-927-1)
  • 45492 - openSUSE Security Update : libfreebl3 (openSUSE-SU-2010:0100-1)
  • 45494 - openSUSE Security Update : libfreebl3 (openSUSE-SU-2010:0100-1)

Version


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

Go back to menu.