CVE-2012-4681
OpenJDK: beans insufficient permission checks, Java 7 0day (beans, 7162473)
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Red Hat. Rated lower by Oracle (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 6 | java-1.7.0-openjdk, java-1.7.0-openjdk-demo, java-1.7.0-openjdk-devel and 2 more | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
Show all 5 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| Oracle Linux 6 | java-1.7.0-openjdk | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
| Oracle Linux 6 | java-1.7.0-openjdk-demo | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
| Oracle Linux 6 | java-1.7.0-openjdk-devel | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
| Oracle Linux 6 | java-1.7.0-openjdk-javadoc | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
| Oracle Linux 6 | java-1.7.0-openjdk-src | 1:1.7.0.5-2.2.1.0.1.el6_3.3 |
References
- http://blog.fireeye.com/research/2012/08/zero-day-season-is-not-over-yet.html
- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html
- http://labs.alienvault.com/labs/index.php/2012/new-java-0day-exploited-in-the-wild/
- http://lists.opensuse.org/opensuse-security-announce/2012-09/msg00032.html
- http://lists.opensuse.org/opensuse-security-announce/2012-10/msg00016.html
- http://marc.info/?l=bugtraq&m=135109152819176&w=2
- http://rhn.redhat.com/errata/RHSA-2012-1225.html
- http://secunia.com/advisories/51044
All 20 references
- http://www.deependresearch.org/2012/08/java-7-vulnerability-analysis.html
- http://www.oracle.com/technetwork/topics/security/alert-cve-2012-4681-1835715.html
- http://www.securityfocus.com/bid/55213
- http://www.us-cert.gov/cas/techalerts/TA12-240A.html
- https://access.redhat.com/security/cve/CVE-2012-4681
- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day
- https://linux.oracle.com/cve/CVE-2012-4681.html
- https://linux.oracle.com/errata/ELSA-2012-1223.html
- https://nvd.nist.gov/vuln/detail/CVE-2012-4681
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-4681
- https://www.cve.org/CVERecord?id=CVE-2012-4681