Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2012-4681

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.

POC

Reference

- http://immunityproducts.blogspot.com/2012/08/java-0day-analysis-cve-2012-4681.html

- https://community.rapid7.com/community/metasploit/blog/2012/08/27/lets-start-the-week-with-a-new-java-0day

Github

- https://github.com/LiamRandall/BroMalware-Exercise

- https://github.com/Live-Hack-CVE/CVE-2012-4681

- https://github.com/Ostorlab/KEV

- https://github.com/Ostorlab/known_exploited_vulnerbilities_detectors

- https://github.com/Shinbatsu/idx-url-extractor

- https://github.com/ZH3FENG/PoCs-CVE_2012_4681

- https://github.com/benjholla/CVE-2012-4681-Armoring

- https://github.com/hackerhouse-opensource/exploits

- https://github.com/s0a1m/Wireshark-Public-Pcaps

- https://github.com/sohasl98/Wireshark-Public-Pcaps

- https://github.com/thongsia/Public-Pcaps