Arbitrary Code Execution Affecting openjdk-jre package, versions [1.7.0,1.7.0_9)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
98.54% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-OPENJDKJRE-72950
  • published31 Jan 2019
  • disclosed28 Aug 2012
  • creditUnknown

Introduced: 28 Aug 2012

CVE-2012-4681  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade openjdk-jre to version 7.0.9 or higher.

Overview

openjdk-jre is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).

Affected versions of this package are vulnerable to Arbitrary Code Execution. It allows 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.

CVSS Base Scores

version 3.1