CVE-2023-46604 in apache activemq
The LogPulse agent checks every host for the vulnerable version of this software, so you see where the CVE is present.
What the vulnerability is
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 software: apache activemq, apache activemq legacy openwire module, debian linux, netapp e-series santricity unified manager, netapp e-series santricity web services proxy, netapp santricity storage plugin
Scores
- CVSS: 9.8 (critical)
- EPSS: 99.99% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2023-11-02, used in ransomware
- Published: 2023-10-27
What LogPulse has for it
- Detection rule: No
- Agent check (vulnerable version): Yes, published
- Mitigation: Yes, see below
How to mitigate it
Upgrade Apache ActiveMQ for the OpenWire deserialisation (CVE-2023-46604)
Patch or upgrade. The fixed ActiveMQ releases stop OpenWire from instantiating arbitrary classes, which gives unauthenticated code execution; closing port 61616 to the internet removes exposure.
Applies to: Apache ActiveMQ before 5.15.16, 5.16.7, 5.17.6 and 5.18.3
- Check the ActiveMQ broker and client library versions.
- Upgrade to 5.15.16, 5.16.7, 5.17.6, 5.18.3 or later (Artemis is not affected).
- Allow the OpenWire port (61616) only from the hosts that need it.
- Look for unexpected child processes of the broker java process and unknown files in its folders.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.