Directory Traversal in Apache ActiveMQ Fileserver (Windows)
CVE-2015-1830 is a critical directory traversal vulnerability in Apache ActiveMQ versions 5.0.0 through 5.11.1 on Windows. The flaw exists in the fileserver upload/download functionality for blob messages, allowing unauthenticated remote attackers to create JSP files in arbitrary directories via crafted requests. This enables attackers to upload web shells or other malicious files to the admin console, leading to remote code execution (RCE). The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and is only exploitable on Windows platforms.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows unauthenticated remote attackers to upload and execute arbitrary JSP files on the server, resulting in full remote code execution. This compromises the confidentiality, integrity, and availability of the affected system. Attackers can gain complete control over the server, execute arbitrary commands, and potentially pivot to other systems in the environment. Public proof-of-concept exploits are available, and the vulnerability was actively traded on exploit markets.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the fileserver functionality by editing the conf\jetty.xml file to remove or comment out the Fileserver web application configuration. Additionally, restrict network access to the ActiveMQ admin console and fileserver endpoints to trusted hosts only. Consider using alternative, secure FTP or HTTP file servers for blob message transfers.
Patch, then assume compromise.
Upgrade Apache ActiveMQ to version 5.11.2 or later. The vulnerability is fully addressed in versions 5.11.2 and 5.12.0. The Apache Software Foundation has also removed the vulnerable Fileserver feature entirely in version 5.14.0. Users should ensure they are running a non-vulnerable version and avoid enabling the Fileserver web application in older versions.
1 exploit validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.