← back
CVE-2023-46604

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

CVSS 10 CRITICALEPSS 99.7%● KEVCWE-502
In short

Apache ActiveMQ's OpenWire protocol allows remote attackers to execute arbitrary commands on servers or clients by sending specially crafted messages. This is a critical flaw that affects the messaging system itself.

Technical detail

Unbounded deserialization in the OpenWire protocol marshaller (CWE-502) enables Remote Code Execution when a remote attacker with network access manipulates serialized class types to instantiate arbitrary classes from the classpath on either broker or client. No authentication is required; impact includes complete system compromise.

Summary generated and translated by AI from the 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H
public PoCs found38
githubgithub.com/SaumyajeetDas/CVE-2023-46604-RCE-Reverse-Shell-Apache-ActiveMQ126githubgithub.com/Catherines77/ActiveMQ-EXPtools77githubgithub.com/Arlenhiack/ActiveMQ-RCE-Exploit43githubgithub.com/evkl1d/CVE-2023-4660440githubgithub.com/trganda/ActiveMQ-RCE28githubgithub.com/duck-sec/CVE-2023-46604-ActiveMQ-RCE-pseudoshell18githubgithub.com/justdoit-cai/CVE-2023-46604-Apache-ActiveMQ-RCE-exp5githubgithub.com/vulncheck-oss/cve-2023-466044githubgithub.com/h3x3h0g/ActiveMQ-RCE-CVE-2023-46604-Write-up3githubgithub.com/NKeshawarz/CVE-2023-46604-RCE3githubgithub.com/mrpentst/CVE-2023-466042githubgithub.com/RockyDesigne/SSP-Assignment-3-RCEYouLater2githubgithub.com/dcm2406/CVE-Lab2githubgithub.com/LiritoShawshark/CVE-2023-46604_ActiveMQ_RCE_Recurrence2githubgithub.com/stegano5/ExploitScript-CVE-2023-466041githubgithub.com/minhangxiaohui/ActiveMQ_CVE-2023-466041githubgithub.com/pulentoski/CVE-2023-466041githubgithub.com/skrkcb2/CVE-2023-466041githubgithub.com/vaishnavucv/Project-Vuln-Detection-N-Mitigation_1011githubgithub.com/tomasmussi/activemq-cve-2023-466040githubgithub.com/CrackerCat/ActiveMQ_RCE_Pro_Max0githubgithub.com/vjayant93/CVE-2023-46604-POC0githubgithub.com/thinkycx/activemq-rce-cve-2023-466040githubgithub.com/mranv/honeypot.rs0githubgithub.com/trnguyen03/activemq-ids-ips-lab0githubgithub.com/cuanh2333/CVE-2023-466040githubgithub.com/REGGYRAIDER/CVE-2023-46604-RCE0githubgithub.com/CCIEVoice2009/CVE-2023-466040githubgithub.com/aelshimony-cloud/OpenWire-CVE-2023-46604-Investigation0githubgithub.com/pavanaa4k/CVE-2023-46604-LAB0githubgithub.com/nitzanoligo/CVE-2023-46604-demo0githubgithub.com/sangrok-jeon/CVE-2023-46604-Analysis0githubgithub.com/mkdemir/activemq-lockbit-analysis0githubgithub.com/Navya240/intel471-threat-hunting-cve-2023-466040githubgithub.com/KlaasStessens/CVE-2023-466040githubgithub.com/dcm2406/CVE-2023-466040githubgithub.com/Mudoleto/Broker_ApacheMQ0cve_referencepacketstormsecurity.com/files/175676/Apache-ActiveMQ-Unauthenticated-Remote-Code-Execution.htmlunverified
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →