QID 730963

Date Published: 2023-11-01

QID 730963: Apache ActiveMQ Remote Code Execution (RCE) Vulnerability (CVE-2023-46604)

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
Apache ActiveMQ Legacy OpenWire Module 5.18.0 before 5.18.3
Apache ActiveMQ Legacy OpenWire Module 5.17.0 before 5.17.6
Apache ActiveMQ Legacy OpenWire Module 5.16.0 before 5.16.7
Apache ActiveMQ Legacy OpenWire Module 5.8.0 before 5.15.16

QID Detection Logic (Unauthenticated):
This QID tries to get the Apache ActiveMQ versions from admin/index.jsp pages if the target allows unauthenticated access to the admin directory.

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 High - 7.2 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 730963

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