Actively exploited · Published Oct 27, 2023 · Assigned by apache

CVE-2023-46604Apache ActiveMQ, Apache ActiveMQ Legacy OpenWire Module: Unbounded deserialization causes ActiveMQ to be vulnerable to a remote code execution (RCE) attack

Critical 10.0 Exploited Ransomware

In plain English

A critical-severity unsafe deserialization in Apache ActiveMQ from Apache Software Foundation. Attackers are actively exploiting it in the wild (listed by CISA on November 2, 2023). It has been used in ransomware campaigns. The chance it is exploited in the next 30 days is estimated at 100.0% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)10.0Critical
Exploit odds (30 days)100.0%top 0.0% of all CVEs
Exploited in the wildYesCISA KEV since Nov 2, 2023
Attack tooling3Metasploit, Nuclei, Public PoC

CISA guidance

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by Nov 23, 2023.

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12activemq5.17.2+dfsg-2+deb12u1DEBIAN-CVE-2023-46604
Debian:12activemq5.17.2+dfsg-2+deb12u1DSA-5798-1
Debian:13activemq5.17.6+dfsg-1DEBIAN-CVE-2023-46604
Mavenorg.apache.activemq:activemq-client5.17.6GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-client5.18.3GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-client5.16.7GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-client5.15.16GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-openwire-legacy5.17.6GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-openwire-legacy5.18.3GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-openwire-legacy5.15.16GHSA-crg9-44h2-xw35
Mavenorg.apache.activemq:activemq-openwire-legacy5.16.7GHSA-crg9-44h2-xw35
Ubuntu:22.04:LTSactivemq5.16.1-1ubuntu0.1UBUNTU-CVE-2023-46604
Ubuntu:22.04:LTSactivemq5.16.1-1ubuntu0.1USN-7268-1

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache ActiveMQ 5.18.0 – before 5.18.35.17.0 – before 5.17.65.16.0 – before 5.16.70 – before 5.15.16
Apache Software Foundation Apache ActiveMQ Legacy OpenWire Module 5.18.0 – before 5.18.35.17.0 – before 5.17.65.16.0 – before 5.16.75.8.0 – before 5.15.16

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H

References