vulnerability

Apache ActiveMQ: CVE-2024-32114: Initialization of a Resource with an Insecure Default

Severity
7
CVSS
(AV:A/AC:M/Au:N/C:C/I:N/A:C)
Published
May 2, 2024
Added
Aug 20, 2024
Modified
Mar 25, 2026

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:
less thanbean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping"greater than
less thanproperty name="constraint" ref="securityConstraint" /greater than
less thanproperty name="pathSpec" value="/" /greater than
less than/beangreater than

Or we encourage users to upgrade to Apache ActiveMQ 6.1.2 where the default configuration has been updated with authentication by default.

Solution

apache-activemq-upgrade-latest
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.