Improper Access Control Affecting org.apache.activemq:apache-activemq package, versions [6.0.0,6.1.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEACTIVEMQ-6765813
  • published2 May 2024
  • disclosed2 May 2024
  • creditUnknown

Introduced: 2 May 2024

CVE-2024-32114  (opens in a new tab)
CWE-1188  (opens in a new tab)

How to fix?

Upgrade org.apache.activemq:apache-activemq to version 6.1.2 or higher.

Overview

org.apache.activemq:apache-activemq is a Message Broker and Client implementations.

Affected versions of this package are vulnerable to Improper Access Control due to the default configuration not securing the API web context, which includes both the Jolokia JMX REST API and the Message REST API. This oversight allows unauthorized access, enabling anyone to interact with the broker or manage messages and destinations without any form of authentication.

Workaround

This vulnerability can be mitigated by updating the conf/jetty.xml configuration file to include authentication requirements as described in the official mitigation guide:

<bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
  <property name="constraint" ref="securityConstraint" />
  <property name="pathSpec" value="/" />
</bean>

CVSS Scores

version 3.1