CVE-2015-1830: Improper Limitation of a Pathname to a Restricted Directory in Apache ActiveMQ
Summary
CVE-2015-1830: Improper Limitation of a Pathname to a Restricted Directory in Apache ActiveMQ. Affects org.apache.activemq:activemq-client versions >= 5.0.0, < 5.11.2. Fixed in 5.11.2. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Apache ActiveMQ is an open-source message broker that provides reliable messaging between distributed applications. It supports various messaging protocols and offers features like message persistence, clustering, and load balancing. The 'org.apache.activemq:activemq-client' package is a Java client library for interacting with Apache ActiveMQ. This vulnerability affects versions of Apache ActiveMQ prior to 5.11.2 for Windows.
Vulnerability Detail
The vulnerability in Apache ActiveMQ allows remote attackers to perform directory traversal attacks through the fileserver upload/download functionality for blob messages. By exploiting this vulnerability, an attacker can create JSP files in arbitrary directories. This can lead to remote code execution and unauthorized access to sensitive information.
How To Fix
Minimum fixed version
5.11.2
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
If upgrading to the latest version is not immediately feasible, a possible workaround is to disable the fileserver upload/download functionality in Apache ActiveMQ. This can be done by modifying the configuration to restrict access to the affected functionality or by removing the affected component entirely.
Conclusion
The directory traversal vulnerability in Apache ActiveMQ can be mitigated by upgrading to the latest version or applying the suggested workaround. It is important to promptly address this vulnerability to prevent potential remote code execution and unauthorized access to sensitive information. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.activemq:activemq-client →
FAQ
Apache ActiveMQ is an open-source message broker that provides reliable messaging between distributed applications.
This vulnerability allows remote attackers to create JSP files in arbitrary directories, potentially leading to remote code execution and unauthorized access to sensitive information.
To fix this vulnerability, it is recommended to upgrade to Apache ActiveMQ version 5.11.2 or later.
Yes, a possible workaround is to disable the fileserver upload/download functionality in Apache ActiveMQ.
For more information about this vulnerability, you can visit the GitHub advisory database or contact the Apache ActiveMQ community.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.apache.activemq:activemq-client.