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

critical Nessus Plugin ID 61746


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: 61746

File Name: oracle_java6_update35.nasl

Version: 1.14

Type: local

Agent: windows

Family: Windows

Published: 8/31/2012

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus Agent

Risk Information


Risk Factor: Low

Score: 0.8


Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

Temporal Vector: E:POC/RL:OF/RC:C


Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: E:P/RL:O/RC:C

Vulnerability Information

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

Required KB Items: SMB/Java/JRE/Installed

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/30/2012

Vulnerability Publication Date: 8/10/2012

Reference Information

CVE: CVE-2012-0547

BID: 55339