[MAVEN:GHSA-GJ5M-M88J-V7C3] Apache ActiveMQ's default configuration doesn't secure the API web context

Severity High
Affected Packages 1
Fixed Packages 1
CVEs 1

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.

Package Affected Version
pkg:maven/org.apache.activemq/apache-activemq >= 6.0.0, < 6.1.2
Package Fixed Version
pkg:maven/org.apache.activemq/apache-activemq = 6.1.2
ID
MAVEN:GHSA-GJ5M-M88J-V7C3
Severity
high
URL
https://github.com/advisories/GHSA-gj5m-m88j-v7c3
Published
2024-05-02T09:30:48
(4 months ago)
Modified
2024-05-03T17:47:08
(4 months ago)
Rights
Maven Security Team
Type Package URL Namespace Name / Product Version Distribution / Platform Arch Patch / Fix
Affected pkg:maven/org.apache.activemq/apache-activemq org.apache.activemq apache-activemq >= 6.0.0 < 6.1.2
Fixed pkg:maven/org.apache.activemq/apache-activemq org.apache.activemq apache-activemq = 6.1.2
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories Exploits PoC Pubblication Date Modification Date
# CVE Description CVSS EPSS EPSS Trend (30 days) Affected Products Weaknesses Security Advisories PoC Pubblication Date Modification Date
Loading...