{"id":"MSF-multi--browser--java_atomicreferencearray","name":"Java AtomicReferenceArray Type Violation Vulnerability","description":"This module exploits a vulnerability due to the fact that AtomicReferenceArray uses the Unsafe class to store a reference in an array directly, which may violate type safety if not used properly. This allows a way to escape the JRE sandbox, and load additional classes in order to perform malicious operations.","cves":["CVE-2012-0507"],"author":"Jeroen Frijters, sinn3r, juan vazquez, egypt","published":"2012-02-14","platform":"Java,Linux,OSX,Windows","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/multi/browser/java_atomicreferencearray.rb","path":"modules/exploits/multi/browser/java_atomicreferencearray.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"java_atomicreferencearray.rb","vulnerabilities":[{"id":"CVE-2012-0507","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Update 30 and earlier, and 5.0 Update 33 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Concurrency. NOTE: the previous information was obtained from the February 2012 Oracle CPU. Oracle has not commented on claims from a downstream vendor and third party researchers that this issue occurs because the AtomicReferenceArray class implementation does not ensure that the array is of the Object[] type, which allows attackers to cause a denial of service (JVM crash) or bypass Java sandbox restrictions. NOTE: this issue was originally mapped to CVE-2011-3571, but that identifier was already assigned to a different issue.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0507","cvss":{"version":"3.1","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0507"},"updatedAt":"2026-08-14T03:55:42.092Z","retrievedAt":"2026-11-26T11:42:49.128Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-multi--browser--java_atomicreferencearray.png?v=2","url":"https://exploitbin.com/exploits/MSF-multi--browser--java_atomicreferencearray","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--browser--java_atomicreferencearray/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-multi--browser--java_atomicreferencearray/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}