Oracle Java JDK / JRE 6 < Update 35 SunToolKit getField() and getMethod() Access Issue (Unix)

This script is Copyright (C) 2013-2014 Tenable Network Security, Inc.


Synopsis :

The remote host contains a runtime environment that contains methods
that can aid in further attacks.

Description :

The version of Oracle (formerly Sun) Java Runtime Environment (JRE) 6.x
installed on the remote host is earlier than Update 35. It, therefore,
potentially contains two methods that do not properly restrict access to
information about other classes. Specifically, the 'getField' and
'getMethod' methods in the 'sun.awt.SunToolkit' class provided by the
bundled SunToolKit can be used to obtain any field or method of a class
- even private fields and methods.

Please note this issue is not directly exploitable, rather it can aid in
attacks against other, directly exploitable vulnerabilities, such as
that found in CVE-2012-4681.

See also :

http://www.nessus.org/u?00370937
http://www.oracle.com/technetwork/java/javase/6u35-relnotes-1835788.html

Solution :

Update to JDK / JRE 6 Update 35 or later and remove, if necessary, any
affected versions.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.7
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Misc.

Nessus Plugin ID: 64839 ()

Bugtraq ID: 55339

CVE ID: CVE-2012-0547