openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1) - Nessus

Critical   Plugin ID: 53736

This page contains detailed information about the openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 53736
Name: openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1)
Filename: suse_11_2_java-1_6_0-sun-110217.nasl
Vulnerability Published: N/A
This Plugin Published: 2011-05-05
Last Modification Time: 2021-01-14
Plugin Version: 1.16
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:novell:opensuse:11.2, p-cpe:/a:novell:opensuse:java-1_6_0-sun, p-cpe:/a:novell:opensuse:java-1_6_0-sun-alsa, p-cpe:/a:novell:opensuse:java-1_6_0-sun-demo, p-cpe:/a:novell:opensuse:java-1_6_0-sun-devel, p-cpe:/a:novell:opensuse:java-1_6_0-sun-jdbc, p-cpe:/a:novell:opensuse:java-1_6_0-sun-plugin, p-cpe:/a:novell:opensuse:java-1_6_0-sun-src
Exploited by Malware: True

Synopsis

The remote openSUSE host is missing a security update.

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

Update the affected java-1_6_0-sun packages.

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 openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1) 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_11_2_java-1_6_0-sun-110217.nasl nessus plugin source code. This script is Copyright (C) 2011-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 openSUSE Security Update java-1_6_0-sun-3969.
#
# The text description of this plugin is (C) SUSE LLC.
#

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

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

  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:"openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1)");
  script_summary(english:"Check for the java-1_6_0-sun-3969 patch");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote openSUSE host is missing a security update."
  );
  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:"https://bugzilla.novell.com/show_bug.cgi?id=672449"
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://lists.opensuse.org/opensuse-updates/2011-02/msg00014.html"
  );
  script_set_attribute(
    attribute:"solution", 
    value:"Update the affected java-1_6_0-sun packages."
  );
  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:"p-cpe:/a:novell:opensuse:java-1_6_0-sun");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-alsa");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-demo");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-jdbc");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-plugin");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:java-1_6_0-sun-src");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:11.2");

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

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

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

  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/SuSE/release");
if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
if (release !~ "^(SUSE11\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "11.2", release);
if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);

ourarch = get_kb_item("Host/cpu");
if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);

flag = 0;

if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-alsa-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-demo-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-devel-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-jdbc-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-plugin-1.6.0.u24-0.2.1") ) flag++;
if ( rpm_check(release:"SUSE11.2", reference:"java-1_6_0-sun-src-1.6.0.u24-0.2.1") ) 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, "java-1_6_0-sun");
}

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

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/suse_11_2_java-1_6_0-sun-110217.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\suse_11_2_java-1_6_0-sun-110217.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/suse_11_2_java-1_6_0-sun-110217.nasl

Go back to menu.

How to Run


Here is how to run the openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1) 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 openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1) plugin ID 53736.
  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_11_2_java-1_6_0-sun-110217.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

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

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

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

Go back to menu.

References


See also: Similar and related Nessus plugins:
  • 75541 - openSUSE Security Update : java-1_6_0-sun (openSUSE-SU-2011:0126-1)
  • 52068 - SuSE 10 Security Update : IBM Java 1.6 (ZYPP Patch Number 7342)
  • 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)
  • 53883 - SuSE9 Security Update : IBM Java JRE and SDK (YOU Patch Number 12706)
  • 53891 - SuSE 11.1 Security Update : IBM Java (SAT Patch Number 4481)
  • 53893 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7505)
  • 56665 - VMSA-2011-0013 : VMware third-party component updates for VMware vCenter Server, vCenter Update Manager, ESXi and ESX
  • 56724 - GLSA-201111-02 : Oracle JRE/JDK: Multiple vulnerabilities (BEAST)
  • 56928 - IBM DB2 9.7 < Fix Pack 5 Multiple Denial of Service Vulnerabilities
  • 57203 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7440)
  • 57204 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7504)
  • 57209 - SuSE 10 Security Update : IBM Java (ZYPP Patch Number 7443)
  • 59644 - IBM DB2 9.1 < Fix Pack 11 Multiple DoS
  • 59684 - HP Systems Insight Manager < 7.0 Multiple Vulnerabilities
  • 60953 - Scientific Linux Security Update : java-1.6.0-openjdk on SL6.x i386/x86_64
  • 60964 - Scientific Linux Security Update : java (jdk 1.6.0) on SL4.x, SL5.x i386/x86_64
  • 60984 - Scientific Linux Security Update : tomcat5 on SL5.x i386/x86_64
  • 60985 - Scientific Linux Security Update : tomcat6 on SL6.x i386/x86_64
  • 63983 - RHEL 5 : IBM Java Runtime (RHSA-2011:0880)
  • 64844 - Oracle Java SE Multiple Vulnerabilities (February 2011 CPU) (Unix)

Version


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

Go back to menu.