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

Critical Nessus Plugin ID 64839


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


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.


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

See Also

Plugin Details

Severity: Critical

ID: 64839

File Name: oracle_java6_update35_unix.nasl

Version: $Revision: 1.7 $

Type: local

Agent: unix

Family: Misc.

Published: 2013/02/22

Modified: 2017/08/15

Dependencies: 64815

Risk Information

Risk Factor: Critical


Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:H/RL:OF/RC:ND

Vulnerability Information

CPE: cpe:/a:oracle:jre, cpe:/a:oracle:jre

Required KB Items: Host/Java/JRE/Installed

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2012/08/30

Vulnerability Publication Date: 2012/08/10

Reference Information

CVE: CVE-2012-0547

BID: 55339

OSVDB: 84980