CVE-2024-32114 Apache ActiveMQ: Jolokia and REST API were not secured with default configuration
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Debian
Description
In Apache ActiveMQ 6.x, the default configuration doesn't secure the API web context (where the Jolokia JMX REST API and the Message REST API are located).
It means that anyone can use these layers without any required authentication. Potentially, anyone can interact with the broker (using Jolokia JMX REST API) and/or produce/consume messages or purge/delete destinations (using the Message REST API).
To mitigate, users can update the default conf/jetty.xml configuration file to add authentication requirement:
<bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
<property name="constraint" ref="securityConstraint" />
<property name="pathSpec" value="/" />
</bean>
Or we encourage users to upgrade to Apache ActiveMQ 6.1.2 where the default configuration has been updated with authentication by default.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Apache ActiveMQ | >= 6.0.0, <= 6.1.1 | after 6.1.1 | Fixed |
| apache activemq | = 6.x; >= 6.0.0, < 6.1.2 | 6.1.2 | Fixed |
| org.apache.activemq/apache-activemq(Maven) | = 6.0.0; = 6.0.1; = 6.1.0; = 6.1.1 +1 more | 6.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.activemq/apache-activemq(Maven) | >= 6.0.0, < 6.1.2 | 6.1.2 |
| org.apache.activemq/apache-activemq(Maven) | = 6.0.0 | No fix listed |
| org.apache.activemq/apache-activemq(Maven) | = 6.0.1 | No fix listed |
| org.apache.activemq/apache-activemq(Maven) | = 6.1.0 | No fix listed |
| org.apache.activemq/apache-activemq(Maven) | = 6.1.1 | No fix listed |
| Apache ActiveMQ | >= 6.0.0, <= 6.1.1 | No fix listed |
| apache activemq | = 6.x | No fix listed |
| apache activemq | >= 6.0.0, < 6.1.2 | 6.1.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com patch
- activemq.apache.org vendor-advisory
- github.com product
- issues.apache.org
- github.com
- Debian Security Tracker CVE-2024-32114 vendor-advisory