Rapid7 VulnDB

Java JMX Server Insecure Configuration Java Code Execution

Back to Search

Java JMX Server Insecure Configuration Java Code Execution

Disclosed
05/22/2013
Created
05/30/2018

Description

This module takes advantage a Java JMX interface insecure configuration, which would allow loading classes from any remote (HTTP) URL. JMX interfaces with authentication disabled (com.sun.management.jmxremote.authenticate=false) should be vulnerable, while interfaces with authentication enabled will be vulnerable only if a weak configuration is deployed (allowing to use javax.management.loading.MLet, having a security manager allowing to load a ClassLoader MBean, etc.).

Author(s)

  • Braden Thomas
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Java

Architectures

java

Development

References

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/misc/java_jmx_server
msf exploit(java_jmx_server) > show targets
    ...targets...
msf exploit(java_jmx_server) > set TARGET < target-id >
msf exploit(java_jmx_server) > show options
    ...show and set options...
msf exploit(java_jmx_server) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;