module

Apache ActiveMQ 5.x-5.11.1 Directory Traversal Shell Upload

Disclosed
Aug 19, 2015
Created
Mar 5, 2020

Description

This module exploits a directory traversal vulnerability (CVE-2015-1830) in Apache
ActiveMQ 5.x before 5.11.2 for Windows.

The module tries to upload a JSP payload to the /admin directory via the traversal
path /fileserver/..\admin\ using an HTTP PUT request with the default ActiveMQ
credentials admin:admin (or other credentials provided by the user). It then issues
an HTTP GET request to /admin/.jsp on the target in order to trigger the
payload and obtain a shell.

Authors

David Jorm
Erik Wynter

Platform

Windows

Architectures

java

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.