Back to search

Java AtomicReferenceArray Type Violation Vulnerability

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/multi/browser/java_atomicreferencearray

Authors

  • Jeroen Frijters
  • sinn3r <sinn3r [at] metasploit.com>
  • juan vazquez <juan.vazquez [at] metasploit.com>
  • egypt <egypt [at] metasploit.com>

References

Targets

  • Generic (Java Payload)
  • Windows x86 (Native Payload)
  • Mac OS X PPC (Native Payload)
  • Mac OS X x86 (Native Payload)
  • Linux x86 (Native Payload)

Platforms

  • java
  • linux
  • osx
  • solaris
  • windows

Architectures

  • java
  • x86
  • ppc

Reliability

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/browser/java_atomicreferencearray msf exploit(java_atomicreferencearray) > show targets ...targets... msf exploit(java_atomicreferencearray) > set TARGET <target-id> msf exploit(java_atomicreferencearray) > show options ...show and set options... msf exploit(java_atomicreferencearray) > exploit

Related Vulnerabilities

Related Modules