Vulnerability record

CVE-2012-4681

Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV Used by ransomware
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Java SE, fix it now.

CISA required action: Apply updates per vendor instructions.

US federal civilian agencies must remediate by Mar 24, 2022.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorSource
Java SEOracleKEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog. Version details have not been published yet.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2012-4681 scored CVSS 9.8: Oracle Java SE, Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

    CISA lists this as exploited in the wild and known to be used in ransomware campaigns. Unpatched Java SE systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-4681
  • blog.fireeye.com http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html
  • immunityproducts.blogspot.com http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html
  • labs.alienvault.com http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html
  • lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html
  • marc.info http://marc.info/?l=bugtraq&m=135109152819176&w=2
  • rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2012-1225.html
  • secunia.com http://secunia.com/advisories/51044
  • deependresearch.org http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html
  • oracle.com http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html
  • securityfocus.com http://www.securityfocus.com/bid/55213
  • us-cert.gov http://www.us-cert.gov/cas/techalerts/TA12-240A.html
  • community.rapid7.com https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681