LiveBreach Intelligence: data breaches, leaks & ransomware, tracked as they surfaceOngoing protection: GalaxyWarden →
Recent BreachesData breach tracker

CVE-2023-46604: Apache ActiveMQ Deserialization of Untrusted Data Vulnerability

RBRecent Breaches Vulnerability Intelligence·Nov 2, 2023
Critical⚠ Actively exploited (CISA KEV)Ransomware-linked
Critical
Severity
Active
CISA KEV
Yes
Ransomware use
Nov 23, 2023
Patch deadline
⚠ Exploited in the wild. CISA added CVE-2023-46604 to its Known Exploited Vulnerabilities catalog on Nov 2, 2023, with a federal patch deadline of Nov 23, 2023 — meaning attackers are actively using it. If you run the affected software, patch it immediately. Ransomware crews are known to exploit this flaw.

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…

CVE-2023-46604 is a deserialization of untrusted data vulnerability in Apache ActiveMQ. It can let a remote attacker who has network access to a broker execute shell commands by manipulating serialized class types in the OpenWire protocol so the broker instantiates arbitrary classes on its classpath. This matters because ActiveMQ is widely used as a message broker in enterprise environments, the flaw enables remote code execution, and it has been observed in ransomware activity. Teams should treat exposed brokers as high priority and confirm all details against the vendor advisory.

How it works

The underlying weakness is CWE-502, deserialization of untrusted data. In Apache ActiveMQ the OpenWire protocol accepts serialized objects. An attacker who can reach the broker over the network can craft messages that alter the class types being deserialized. This causes the broker process to instantiate any class available on its classpath. When those classes include ones that can invoke operating-system commands, the result is arbitrary shell command execution under the privileges of the ActiveMQ process. No authentication is required beyond network reachability to the broker, according to the CISA summary. Exact exploit mechanics and payload construction must be confirmed against the vendor advisory; defenders should focus on the general pattern of untrusted deserialization leading to remote code execution rather than any specific gadget chain.

Am I affected? How to find it in your systems

Apache ActiveMQ typically runs as a standalone message broker or is embedded in application servers, middleware platforms, and integration layers that need reliable queuing. Look for installations on servers that expose OpenWire ports (commonly TCP 61616, though configurations vary) or that advertise ActiveMQ endpoints. Inventory methods include:

Because specific affected version ranges are not listed here, compare every discovered instance against the vendor advisory to determine whether it is vulnerable. For signs of exploitation, examine broker logs for unexpected class instantiation errors, anomalous OpenWire traffic, or sudden process spawning of shells or network tools. Endpoint detection and response telemetry that flags unusual child processes of the Java runtime hosting ActiveMQ is also useful. Correlate any such activity with external network connections to the broker.

How to remediate

Patch first. Apply the vendor-supplied update for Apache ActiveMQ exactly as described in the official advisory. The CISA required action is to apply mitigations per vendor instructions or to discontinue use of the product if mitigations are unavailable. After patching, restart the broker and verify the new version is running. For the broader deserialization class of issues, harden the environment by restricting the classpath to only necessary libraries, enabling any available Java deserialization filters if the runtime supports them, and ensuring the broker process runs with least privilege. Confirm that no residual OpenWire endpoints remain exposed after the update.

If you can't patch immediately

Until the vendor update can be applied, reduce exposure with compensating controls:

These steps do not eliminate the vulnerability but shrink the attack surface until a permanent fix is in place. Re-evaluate the risk of continued operation against the CISA guidance to discontinue use if mitigations prove insufficient.

If your data may have been exposed

Because this vulnerability is known to have been used by ransomware operators and enables remote code execution, successful exploitation can lead to full system compromise, data theft, or encryption. If logs or telemetry indicate that an unpatched broker was reachable and showed signs of exploitation, assume potential data exposure and follow your incident-response plan: isolate affected hosts, preserve forensic evidence, and rotate credentials that the broker process could access. As a quick additional check, readers can run a free exposure scan of their email addresses to see whether those addresses appear in known breach data sets.

AICompiled with AI assistance from public sources and published under our editorial standards.

Details

AffectedApache · ActiveMQ
WeaknessCWE-502
Added to CISA KEVNov 2, 2023
Federal patch deadlineNov 23, 2023
Known ransomware useYes
Check if your data is exposed →

Official records: NVD · CISA KEV

← All actively-exploited vulnerabilities