CVE-2024-32114
Apache ActiveMQ: Jolokia and REST API were not secured with default configuration
En resumen
Las APIs web de Apache ActiveMQ (Jolokia y Message REST API) no están protegidas por defecto, permitiendo que cualquiera las acceda sin contraseña. Esto significa que los atacantes pueden controlar el intermediador de mensajes, enviar/recibir mensajes o eliminar datos sin autorización.
Detalle técnico
Las APIs Jolokia JMX REST y Message REST API en Apache ActiveMQ 6.x carecen de controles de autenticación predeterminados en la configuración jetty.xml. Los atacantes remotos no autenticados pueden invocar operaciones JMX arbitrarias a través de Jolokia o manipular colas de mensajes (producir, consumir, purgar, eliminar destinos) a través de Message REST API, lo que resulta en compromiso del intermediador y pérdida de datos.
Resumen generado y traducido por IA a partir de la descripción oficial.
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.
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H