CVE-2015-1830 Improper Limitation of a Pathname to a Restricted Directory in Apache ActiveMQ
Remote attackers can exploit a directory traversal flaw in Apache ActiveMQ to upload JSP files, potentially leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-1830?
CVE-2015-1830 is a medium-severity path traversal vulnerability in Apache Activemq, published on 19 Aug 2015. It can be exploited over the network, with no action from the victim.
Official description
Directory traversal vulnerability in the fileserver upload/download functionality for blob messages in Apache ActiveMQ 5.x before 5.11.2 for Windows allows remote attackers to create JSP files in arbitrary directories via unspecified vectors.
Weakness: CWE-22
Which versions are affected by CVE-2015-1830?
2 open source packages ship an affected version, including org.apache.activemq:activemq-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.activemq:activemq-client Maven | From 5.0.0 | 5.11.2 |
org.apache.activemq:activemq-client Maven | From 5.0.0 | 5.11.2 |
Products include Apache Activemq.
How do I fix CVE-2015-1830?
Upgrade org.apache.activemq:activemq-client to 5.11.2 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-1830 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-1830 exists.
Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.
Other vulnerabilities in Apache Activemq
Sources
Also known as GHSA-3v63-f83x-37x4.