{"id":"CVE-2012-4681","title":"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) usi…","summary":"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) usi…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-284"],"vendor":"oracle","product":"jdk","affected":["jdk = 1.6.0","jdk = 1.7.0","jre = 1.6.0","jre = 1.7.0","enterprise_linux_desktop = 6.0","enterprise_linux_eus = 6.3","enterprise_linux_server = 6.0","enterprise_linux_workstation = 6.0"],"published":"2012-08-28","updated":"2026-08-04","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-4681","references":[{"url":"http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html","label":"cve@mitre.org"},{"url":"http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html","label":"cve@mitre.org"},{"url":"http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/","label":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html","label":"cve@mitre.org"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html","label":"cve@mitre.org"},{"url":"http://marc.info/?l=bugtraq&m=135109152819176&w=2","label":"cve@mitre.org"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1225.html","label":"cve@mitre.org"},{"url":"http://secunia.com/advisories/51044","label":"cve@mitre.org"},{"url":"http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html","label":"cve@mitre.org"},{"url":"http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html","label":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/55213","label":"cve@mitre.org"},{"url":"http://www.us-cert.gov/cas/techalerts/TA12-240A.html","label":"cve@mitre.org"},{"url":"https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day","label":"cve@mitre.org"},{"url":"http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://marc.info/?l=bugtraq&m=135109152819176&w=2","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://rhn.redhat.com/errata/RHSA-2012-1225.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://secunia.com/advisories/51044","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/55213","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.us-cert.gov/cas/techalerts/TA12-240A.html","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd","kev","in-the-wild","exploit-available"],"epss":0.98536,"epssPercentile":0.9992,"kev":true,"kevDateAdded":"2022-03-03","kevDueDate":"2022-03-24","kevRansomware":true,"exploited":true,"exploitAvailable":true,"ingestedAt":"2026-08-04T05:36:12.004Z","exploits":{"exploitdb":true,"github":2,"githubRepos":["https://github.com/benjholla/CVE-2012-4681-Armoring","https://github.com/ZH3FENG/PoCs-CVE_2012_4681"],"metasploit":["exploit/multi/browser/java_jre17_exec"],"checkedAt":"2026-09-19T16:22:50.478Z"},"slug":"CVE-2012-4681","body":"## Overview\n\nMultiple 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.\n\n## Affected\n\n- `jdk = 1.6.0`\n- `jdk = 1.7.0`\n- `jre = 1.6.0`\n- `jre = 1.7.0`\n- `enterprise_linux_desktop = 6.0`\n- `enterprise_linux_eus = 6.3`\n- `enterprise_linux_server = 6.0`\n- `enterprise_linux_workstation = 6.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"hadal","depthScore":100,"depthScoreParts":{"impact":53.9,"likelihood":19.7,"exploitation":25,"ransomware":5},"changes":[]}