Patchfirst
CVE-2023-46604 KEVRansomwarePublic exploit Critical · 9.8 EPSS >99.9%

Apache ActiveMQ Deserialization of Untrusted Data Vulnerability

Apache · ActiveMQ

Summary

The Java OpenWire protocol marshaller in Apache ActiveMQ deserializes untrusted data, letting attackers reach remote code execution through manipulated serialized class types in the OpenWire protocol. An attacker with network access to a Java-based OpenWire broker or client, and no authentication or user interaction, can cause the broker or client to instantiate any class on its classpath and thereby run arbitrary shell commands.

Official description · NVD

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.

Breakdown
79.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
4/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

  3. What can follow

First seen exploited 6 days after disclosure. Public exploit code (PoC-in-GitHub) was available 1 day before disclosure.

  1. Public exploit codePoC-in-GitHub1 day before
  2. Disclosedday 0
  3. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVknown ransomware use; EU database agrees+6 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

7 fixes in activemq-client over 8 years. The latest fix listed for activemq-client is 6.2.4.

Fixes in activemq-clientMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 5.14.5CVE-2015-75591 Aug 2019
  2. 5.15.6CVE-2018-1177510 Sep 2018
  3. 5.15.9CVE-2019-022228 Mar 2019
  4. 5.18.3CVE-2023-4660427 Oct 2023KEV
  5. 6.1.6CVE-2025-275337 May 2025
  6. 6.2.2CVE-2026-332277 Apr 2026
  7. 6.2.4CVE-2026-3930410 Apr 2026Latest listed

techniques

3 , grouped by in kill-chain order 3

Initial AccessTA0001

MITRE CTID mapping of the KEV entry · how it is exploited

This vulnerability is exploited by a remote attacker who manipulates serialized class types in the OpenWire protocol to run arbitrary shell commands. This allows the adversary to execute remote code, leading to the download and installation of malware, such as the Kinsing malware and cryptocurrency miners, on Linux systems. Additionally, attackers have attempted to deploy ransomware, attributed to the HelloKitty ransomware family, on target systems.

ExecutionTA0002

Scheduled Task T1053.005 also Persistence, Privilege Escalation
MITRE CTID mapping of the KEV entry · follow-on activity
Unix Shell T1059.004
MITRE CTID mapping of the KEV entry · primary impact

Detection

0 rules for this CVE · 220 general rules for its techniques

Rules for this CVE

0 that reference CVE-2023-46604 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.apache.activemq:activemq-client
    Affected: 5.18.0 up to 5.18.3; 5.17.0 up to 5.17.6; 5.16.0 up to 5.16.7; All versions before 5.15.16Upgrade to 5.18.3 or later (older lines: 5.17.6, 5.16.7, 5.15.16)
  • Mavenorg.apache.activemq:activemq-openwire-legacy
    Affected: 5.18.0 up to 5.18.3; 5.17.0 up to 5.17.6; 5.16.0 up to 5.16.7; 5.8.0 up to 5.15.16Upgrade to 5.18.3 or later (older lines: 5.17.6, 5.16.7, 5.15.16)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

8 links, grouped by NVD tag (6 duplicates merged)
↑ ↓ chooseEnter openEsc close