QID 379060

Date Published: 2023-11-23

QID 379060: Apache ActiveMQ Remote Code Execution (RCE) Vulnerability

Apache ActiveMQ is vulnerable to Remote Code Execution.The vulnerability may allow a remote attacker with network access to a broker to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.

Users are recommended to upgrade to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3, which fixes this issue.

Affected Versions:
Apache ActiveMQ 5.18.0 before 5.18.3
Apache ActiveMQ 5.17.0 before 5.17.6
Apache ActiveMQ 5.16.0 before 5.16.7
Apache ActiveMQ before 5.15.16

QID Detection Logic (Authenticated):
This QID checks for Apache ActiveMQ version by running the 'activemq --version' command. Please note that the activemq bin directory needs to be in the PATH environment variable for the detection to work.

The vulnerability may allow a remote attacker with network access to a broker to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customer are advised to update to Apache ActiveMQ 5.15.16, 5.16.7, 5.17.6, or 5.18.3 or later versions to remediate this vulnerability.

    CVEs related to QID 379060

    Software Advisories
    Advisory ID Software Component Link
    CVE-2023-46604 URL Logo activemq.apache.org/security-advisories.data/CVE-2023-46604-announcement.txt