Actively exploited vulnerability

Oracle Java SE: code execution flaw under attack

CVE-2012-4681 · Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

Concerns everyone who uses it9.8 criticalUsed in ransomware attacks

What is affected

Oracle Java SE is found on ordinary personal computers and phones, so this is not only a problem for companies. If you use it and have not updated since the fix was released, you are exposed.

The Java Runtime Environment (JRE) component in Oracle Java SE allow for remote code execution.

CISA's description

What an attacker can do

This is a code execution flaw. It lets an attacker run their own commands or programs on the affected system. In practice that usually means taking it over: installing malware, stealing data or using it to reach other devices on the same network.

How it is reached
Over the internet or network
Access the attacker needs
No account needed
Does the victim have to do something?
No, works without the victim doing anything

CISA records this vulnerability as known to be used in ransomware campaigns: attackers use it to get in, then encrypt files and demand payment.

What to do

  1. Update Oracle Java SE now. Open the update or "About" screen, install whatever is offered and restart the app or device, because the fix is not active until you do.
  2. Turn on automatic updates so the next fix arrives without you having to look for it.
  3. If your device is too old to receive this update, stop using the affected app for anything sensitive and plan a replacement.

Apply updates per vendor instructions.

Action required by CISA for US federal agencies

How urgent is it

CISA added this vulnerability to its Known Exploited Vulnerabilities catalogue on March 3, 2022, which means there is reliable evidence of attacks in the wild. US federal agencies must fix it by March 24, 2022, a deadline that has already passed. That deadline does not bind anyone else, but it shows how seriously the agency rates it.

The EPSS model estimates a 99% probability that this flaw will be exploited somewhere in the next 30 days. That is higher than 99.9% of all scored vulnerabilities.

Its CVSS severity score is 9.8 out of 10 (critical), as recorded in the US National Vulnerability Database.

Technical description

Multiple vulnerabilities in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 6 and earlier allow remote attackers to execute arbitrary code via a crafted applet that bypasses SecurityManager restrictions by (1) using com.sun.beans.finder.ClassFinder.findClass and leveraging an exception with the forName method to access restricted classes from arbitrary packages such as sun.awt.SunToolkit, then (2) using "reflection with a trusted immediate caller" to leverage the getField method to access and modify private fields, as exploited in the wild in August 2012 using Gondzz.class and Gondvv.class.

NIST National Vulnerability Database
5,442 members already hereReading, writing, commenting and voting. 0 verified · 167 joined this year