SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342) - Nessus

Critical   Plugin ID: 52068

This page contains detailed information about the SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 52068
Name: SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342)
Filename: suse_java-1_6_0-sun-7342.nasl
Vulnerability Published: N/A
This Plugin Published: 2011-02-23
Last Modification Time: 2021-01-19
Plugin Version: 1.19
Plugin Type: local
Plugin Family: SuSE Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/cpu, Host/local_checks_enabled, Host/SuSE/release, Host/SuSE/rpm-list

Vulnerability Information


Severity: Critical
Vulnerability Published: N/A
Patch Published: 2011-02-17
CVE [?]: CVE-2010-4422, CVE-2010-4447, CVE-2010-4448, CVE-2010-4450, CVE-2010-4451, CVE-2010-4452, CVE-2010-4454, CVE-2010-4462, CVE-2010-4463, CVE-2010-4465, CVE-2010-4466, CVE-2010-4467, CVE-2010-4468, CVE-2010-4469, CVE-2010-4470, CVE-2010-4471, CVE-2010-4472, CVE-2010-4473, CVE-2010-4474, CVE-2010-4475, CVE-2010-4476
CPE [?]: cpe:/o:suse:suse_linux
Exploited by Malware: True

Synopsis

The remote SuSE 10 host is missing a security-related patch.

Description

Sun Java 1.6 was updated to Update 24 fixing various bugs and security issues.

The update is rated critical by Sun.

Following CVEs were addressed :

CVE-2010-4452 / CVE-2010-4454 / CVE-2010-4462 / CVE-2010-4463 / CVE-2010-4465 / CVE-2010-4467 / CVE-2010-4469 / CVE-2010-4473 / CVE-2010-4422 / CVE-2010-4451 / CVE-2010-4466 / CVE-2010-4470 / CVE-2010-4471 / CVE-2010-4476 / CVE-2010-4447 / CVE-2010-4475 / CVE-2010-4468 / CVE-2010-4450 / CVE-2010-4448 / CVE-2010-4472 / CVE-2010-4474

Solution

Apply ZYPP patch number 7342.

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 SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342) vulnerability:

  1. Metasploit: exploit/windows/browser/java_codebase_trust
    [Sun Java Applet2ClassLoader Remote Code Execution]
  2. Exploit-DB: exploits/multiple/remote/16990.rb
    [EDB-16990: Sun Java Applet2ClassLoader - Remote Code Execution (Metasploit)]
  3. GitHub: http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html
    [CVE-2010-4476]
  4. GitHub: https://github.com/grzegorzblaszczyk/CVE-2010-4476-check
    [CVE-2010-4476: http://www.oracle.com/technetwork/topics/security/alert-cve-2010-4476-305811.html ...]
  5. 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:C/I:C/A:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:NA (None)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:10.0 (High)

Go back to menu.

Plugin Source


This is the suse_java-1_6_0-sun-7342.nasl nessus plugin source code. This script is Copyright (C) 2011-2021 Tenable Network Security, Inc.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The text description of this plugin is (C) Novell, Inc.
#

if (NASL_LEVEL < 3000) exit(0);

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

if (description)
{
  script_id(52068);
  script_version("1.19");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");

  script_cve_id("CVE-2010-4422", "CVE-2010-4447", "CVE-2010-4448", "CVE-2010-4450", "CVE-2010-4451", "CVE-2010-4452", "CVE-2010-4454", "CVE-2010-4462", "CVE-2010-4463", "CVE-2010-4465", "CVE-2010-4466", "CVE-2010-4467", "CVE-2010-4468", "CVE-2010-4469", "CVE-2010-4470", "CVE-2010-4471", "CVE-2010-4472", "CVE-2010-4473", "CVE-2010-4474", "CVE-2010-4475", "CVE-2010-4476");

  script_name(english:"SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342)");
  script_summary(english:"Checks rpm output for the updated packages");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote SuSE 10 host is missing a security-related patch."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"Sun Java 1.6 was updated to Update 24 fixing various bugs and security
issues.

The update is rated critical by Sun.

Following CVEs were addressed :

CVE-2010-4452 / CVE-2010-4454 / CVE-2010-4462 / CVE-2010-4463 /
CVE-2010-4465 / CVE-2010-4467 / CVE-2010-4469 / CVE-2010-4473 /
CVE-2010-4422 / CVE-2010-4451 / CVE-2010-4466 / CVE-2010-4470 /
CVE-2010-4471 / CVE-2010-4476 / CVE-2010-4447 / CVE-2010-4475 /
CVE-2010-4468 / CVE-2010-4450 / CVE-2010-4448 / CVE-2010-4472 /
CVE-2010-4474"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4422.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4447.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4448.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4450.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4451.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4452.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4454.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4462.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4463.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4465.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4466.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4467.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4468.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4469.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4470.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4471.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4472.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4473.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4474.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4475.html"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"http://support.novell.com/security/cve/CVE-2010-4476.html"
  );
  script_set_attribute(attribute:"solution", value:"Apply ZYPP patch number 7342.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A: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:'Sun Java Applet2ClassLoader Remote Code Execution');
  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:suse:suse_linux");

  script_set_attribute(attribute:"patch_publication_date", value:"2011/02/17");
  script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/23");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2011-2021 Tenable Network Security, Inc.");
  script_family(english:"SuSE Local Security Checks");

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

  exit(0);
}


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


if (!get_kb_item("Host/local_checks_enabled")) exit(0, "Local checks are not enabled.");
if (!get_kb_item("Host/SuSE/release")) exit(0, "The host is not running SuSE.");
if (!get_kb_item("Host/SuSE/rpm-list")) exit(1, "Could not obtain the list of installed packages.");

cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) exit(1, "Failed to determine the architecture type.");
if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") exit(1, "Local checks for SuSE 10 on the '"+cpu+"' architecture have not been implemented.");


flag = 0;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-alsa-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-demo-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-devel-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-jdbc-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, reference:"java-1_6_0-sun-src-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, cpu:"i586", reference:"java-1_6_0-sun-plugin-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, cpu:"x86_64", reference:"java-1_6_0-sun-32bit-1.6.0.u24-0.5.1")) flag++;
if (rpm_check(release:"SLED10", sp:3, cpu:"x86_64", reference:"java-1_6_0-sun-plugin-32bit-1.6.0.u24-0.5.1")) flag++;


if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
  else security_hole(0);
  exit(0);
}
else exit(0, "The 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/suse_java-1_6_0-sun-7342.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\suse_java-1_6_0-sun-7342.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/suse_java-1_6_0-sun-7342.nasl

Go back to menu.

How to Run


Here is how to run the SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342) 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 SuSE Local Security Checks plugin family.
  6. On the right side table select SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342) plugin ID 52068.
  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 suse_java-1_6_0-sun-7342.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a suse_java-1_6_0-sun-7342.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - suse_java-1_6_0-sun-7342.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 suse_java-1_6_0-sun-7342.nasl -t <IP/HOST>

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 51952 - RHEL 5 / 6 : java-1.6.0-openjdk (RHSA-2011:0214)
  • 51960 - Fedora 13 : java-1.6.0-openjdk-1.6.0.0-50.1.8.6.fc13 (2011-1231)
  • 51961 - Fedora 14 : java-1.6.0-openjdk-1.6.0.0-52.1.9.6.fc14 (2011-1263)
  • 51977 - Debian DSA-2161-1 : openjdk-6 - denial of service
  • 52002 - Oracle Java SE Multiple Vulnerabilities (February 2011 CPU)
  • 52021 - RHEL 4 / 5 / 6 : java-1.6.0-sun (RHSA-2011:0282)
  • 52063 - RHEL 4 / 5 / 6 : java-1.6.0-ibm (RHSA-2011:0290)
  • 52064 - RHEL 4 / 5 / 6 : java-1.5.0-ibm (RHSA-2011:0291)
  • 52065 - RHEL 4 / 5 : java-1.4.2-ibm (RHSA-2011:0292)
  • 52067 - SuSE 11.1 Security Update : Sun Java 1.6 (SAT Patch Number 3976)
  • 52498 - Ubuntu 9.10 / 10.04 LTS / 10.10 : openjdk-6 vulnerabilities (USN-1079-1)
  • 52587 - Mac OS X : Java for Mac OS X 10.5 Update 9
  • 52588 - Mac OS X : Java for Mac OS X 10.6 Update 4
  • 52606 - RHEL 6 : tomcat6 (RHSA-2011:0335)
  • 52607 - RHEL 5 : tomcat5 (RHSA-2011:0336)
  • 52629 - SuSE9 Security Update : IBMJava JRE and SDK (YOU Patch Number 12682)
  • 52631 - SuSE 11.1 Security Update : IBM Java (SAT Patch Number 4024)
  • 52632 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7348)
  • 52701 - RHEL 4 / 5 / 6 : java-1.6.0-ibm (RHSA-2011:0357)
  • 52702 - SuSE9 Security Update : IBM Java (YOU Patch Number 12683)
  • 52737 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7350)
  • 52751 - SuSE 11.1 Security Update : IBM Java (SAT Patch Number 4109)
  • 52752 - SuSE 10 Security Update : java-1_6_0-ibm, java-1_6_0-ibm-32bit, java-1_6_0-ibm-64bit, java-1_6_0-ibm-alsa, java-1_6_0-ibm-alsa-32bit, java-1_6_0-ibm-demo, java-1_6_0-ibm-devel, java-1_6_0-ibm-devel-32bit, java-1_6_0-ibm-fonts, java-1_6_0-ibm-jdbc, java-1_6_0-ibm-jdbc-32bit, java-1_6_0-ibm-jdbc-64bit, java-1_6_0-ibm-plugin, java-1_6_0-ibm-plugin-32bit, java-1_6_0-ibm-src (ZYPP Patch Number 7369)
  • 53001 - Mandriva Linux Security Advisory : java-1.6.0-openjdk (MDVSA-2011:054)
  • 53419 - CentOS 5 : java-1.6.0-openjdk (CESA-2011:0214)
  • 53427 - CentOS 5 : tomcat5 (CESA-2011:0336)
  • 53736 - openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file suse_java-1_6_0-sun-7342.nasl version 1.19. For more plugins, visit the Nessus Plugin Library.

Go back to menu.