CVE-2024-32114CWE-1188

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

High · published May 2, 2024

CVSS v3.1
8.5
EPSS
7%
Percentile
94.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.5 · HIGH
Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.07148 · 94.3th percentile
Weakness
CWE-1188 · Initialization of a Resource with an Insecure Default
Published
2024-05-02T08:29Z
EPSS history
Timeline
  • 02 MAY 08:29Z
    Apache ActiveMQ: Jolokia and REST API were not secured with default configuration
    cvelistv5