Error Handling in Oracle Java SE - CVE-2012-4681

 

Error Handling in Oracle Java SE - CVE-2012-4681

Published: December 29, 2016 / Updated: November 20, 2020


Vulnerability identifier: #VU3040
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2012-4681
CWE-ID: CWE-388
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: Oracle
Affected software:
Oracle Java SE

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists due to improper handling of Rhino Javascript errors. A remote attacker can create a specially crafted Web site, trick the victim into visiting it and bypass sandbox restrictions to download and execute arbitrary code  with privileges of the current user.

Successful exploitation of the vulnerability results in arbitrary code execution on the vulnerable system.

Note: the vulnerability was being actively exploited.

How to mitigate CVE-2012-4681

Update the latest version from vendor's website:
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Sources