Apache ActiveMQ RCE via OpenWire Marshaller (before 5.18.3)
CVE-2023-46604 Published on October 27, 2023
The Java OpenWire protocol marshaller is vulnerable to Remote Code Execution. This vulnerability may allow a remote attacker with network access to either a Java-based OpenWire broker or client to run arbitrary shell commands by manipulating serialized class types in the OpenWire protocol to cause either the client or the broker (respectively) to instantiate any class on the classpath. Users are recommended to upgrade both brokers and clients to version 5.15.16, 5.16.7, 5.17.6, or 5.18.3 which fixes this issue.
Known Exploited Vulnerability
This Apache ActiveMQ Deserialization of Untrusted Data Vulnerability is part of CISA's list of Known Exploited Vulnerabilities. Apache ActiveMQ contains a deserialization of untrusted data vulnerability that may allow a remote attacker with network access to a broker to run shell commands by manipulating serialized class types in the OpenWire protocol to cause the broker to instantiate any class on the classpath.
The following remediation steps are recommended / required by November 23, 2023: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Vulnerability Analysis
CVE-2023-46604 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. This vulnerability is known to be actively exploited by threat actors in an automatable fashion. The potential impact of an exploit of this vulnerability is considered to have a small impact on confidentiality, a high impact on integrity and availability.
Weakness Type
What is a Marshaling, Unmarshaling Vulnerability?
The application deserializes untrusted data without sufficiently verifying that the resulting data will be valid.
CVE-2023-46604 has been classified to as a Marshaling, Unmarshaling vulnerability or weakness.
Products Associated with CVE-2023-46604
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-46604 are published in these products:
Affected Versions
Apache Software Foundation Apache ActiveMQ:- Version 5.18.0 and below 5.18.3 is affected.
- Version 5.17.0 and below 5.17.6 is affected.
- Version 5.16.0 and below 5.16.7 is affected.
- Before 5.15.16 is affected.
- Version 5.18.0 and below 5.18.3 is affected.
- Version 5.17.0 and below 5.17.6 is affected.
- Version 5.16.0 and below 5.16.7 is affected.
- Version 5.8.0 and below 5.15.16 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.