CVE-2024-32114

Apache ActiveMQ: Jolokia and REST API were not secured with default configuration

State
Published
Severity
8.5 High
Published
May 2, 2024
Updated
Aug 2, 2024
Reserved
Apr 11, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.18.5 HighCVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:Hapache

Weaknesses

  • CWE-1188 Insecure Default Initialization of Resource

Affected Products

ProductVersions
Apache ActiveMQApache Software Foundation
  • 6.0.0 through 6.1.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.