Arbitrary code execution in Oracle Java SE - CVE-2012-0507

 

Arbitrary code execution in Oracle Java SE - CVE-2012-0507

Published: January 11, 2017 / Updated: April 9, 2024


Vulnerability identifier: #VU4234
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-0507
CWE-ID: CWE-399
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 an error in the AtomicReferenceArray class implementation. A remote attacker can create a specially crafted Web site, trick the victim into visiting it, bypass Java sandbox restrictions and execute arbitrary code with privileges of the current user or cause Java Virtual Machine to crash.

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-0507


Sources