Skip to content

CVE-2024-32114 Apache ActiveMQ: Jolokia and REST API were not secured with default configuration

HighCVSS 8.8 EPSS 7.3% Scanner template
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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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