Skip to main content
← All vulnerabilities
CVE-2024-32114GHSA-GJ5M-M88J-V7C3BIT-ACTIVEMQ-2024-32114

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

Published
Last modified
published
Not listed in CISA KEV
Low (apache)
Fix
Fixed in 6.1.2
1 proof of concept on GitHub, 1 Nuclei template
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • Apache Software Foundation Apache ActiveMQ

    From 6.0.0 · through 6.1.1

  • org.apache.activemq:apache-activemqMaven

    From 6.0.0 · fixed in 6.1.2

References 3

activemq.apache.org

GitHub · projectdiscovery/nuclei-templates

GitHub · Catherines77/ActiveMQ-EXPtools