Rapid7 VulnDB

FreeBSD: Java 1.7 -- security manager bypass (CVE-2012-4681)

Back to Search

FreeBSD: Java 1.7 -- security manager bypass (CVE-2012-4681)

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
08/27/2012
Created
07/25/2018
Added
05/08/2014
Modified
02/13/2015

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.

Solution(s)

  • freebsd-upgrade-package-linux-sun-jdk
  • freebsd-upgrade-package-linux-sun-jre
  • freebsd-upgrade-package-openjdk

References

  • freebsd-upgrade-package-linux-sun-jdk
  • freebsd-upgrade-package-linux-sun-jre
  • freebsd-upgrade-package-openjdk

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;