Apache ActiveMQ's default configuration doesn't secure the API web context
High severity
GitHub Reviewed
Published
May 2, 2024
to the GitHub Advisory Database
•
Updated May 3, 2024
Package
Affected versions
>= 6.0.0, < 6.1.2
Patched versions
6.1.2
Description
Published by the National Vulnerability Database
May 2, 2024
Published to the GitHub Advisory Database
May 2, 2024
Reviewed
May 3, 2024
Last updated
May 3, 2024
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:
Or we encourage users to upgrade to Apache ActiveMQ 6.1.2 where the default configuration has been updated with authentication by default.
References