Path: blob/master/documentation/modules/auxiliary/scanner/misc/java_jmx_server.md
27522 views
The java_jmx_scanner module uses the Msf::Exploit::Remote::Java::Rmi::Client library to perform a handshake with a Java JMX MBean server. JMX MBean listens in 1099 by default, and is used to manage and monitor Java applications.
The module returns whether the target is a Java JMX MBeans server and also outputs if the server requires authentication.
Vulnerable Application
While many implementations of JMX are available, the module was successfully tested against an Apache ActiveMQ 5.13.3 server with JMX enabled. For convenience, a docker container (antonw/activemq-jmx) supports JMX and can be tweaked to require authentication.
Verification Steps
See PR#10401 for general information, and this specific comment for steps to require JMX authentication in the container. In summary:
Options
Scenarios
ActiveMQ 5.13.3
Against the above-described Docker container, the workflow looks like:
In addition, note that services within the data model has been updated: