PoC Monitor
← All CVEs
CVE-2023-46604published 27 Oct 2023 14:59 UTCData: JSON · API

Apache Software Foundation Apache ActiveMQ

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

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.

First public PoC 5.1 daysafter publication · 1 Nov 2023 · Metasploit
Public PoCs3028 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-502
CISA KEV 2 Nov 20236 days after publication · ransomware use known

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.apache.activemq:activemq-client (Maven)
  • < 5.15.16

Fixed in 5.15.16

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-client (Maven)
  • >= 5.16.0, < 5.16.7

Fixed in 5.16.7

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-client (Maven)
  • >= 5.17.0, < 5.17.6

Fixed in 5.17.6

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-client (Maven)
  • >= 5.18.0, < 5.18.3

Fixed in 5.18.3

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-openwire-legacy (Maven)
  • >= 5.8.0, < 5.15.16

Fixed in 5.15.16

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-openwire-legacy (Maven)
  • >= 5.16.0, < 5.16.7

Fixed in 5.16.7

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-openwire-legacy (Maven)
  • >= 5.17.0, < 5.17.6

Fixed in 5.17.6

from GitHub Security Advisory GHSA-crg9-44h2-xw35

org.apache.activemq:activemq-openwire-legacy (Maven)
  • >= 5.18.0, < 5.18.3

Fixed in 5.18.3

from GitHub Security Advisory GHSA-crg9-44h2-xw35

Mitigation

Upgrade org.apache.activemq:activemq-client to 5.15.16 or later.

Upgrade org.apache.activemq:activemq-client to 5.16.7 or later.

Upgrade org.apache.activemq:activemq-client to 5.17.6 or later.

Upgrade org.apache.activemq:activemq-client to 5.18.3 or later.

Upgrade org.apache.activemq:activemq-openwire-legacy to 5.15.16 or later.

Upgrade org.apache.activemq:activemq-openwire-legacy to 5.16.7 or later.

Upgrade org.apache.activemq:activemq-openwire-legacy to 5.17.6 or later.

Upgrade org.apache.activemq:activemq-openwire-legacy to 5.18.3 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Oct 2023 · t = 0First public PoC1 Nov 2023 · t+5.1dAdded to CISA KEV2 Nov 2023 · t+6d

First public PoC 5.1 days after publication; added to CISA KEV 6 days after publication. First PoC: Metasploit exploit: Apache ActiveMQ Unauthenticated Remote Code Execution (exploit/multi/misc/apache_activemq_rce_cve_2023_46604) (Metasploit, 1 Nov 2023).

PoC repositories

Found on GitHub.

28 PoCs · 8 pending · 17 informational · 1 not a PoC · 5 suspicious or fake

PoCs 28
RepositoryCreatedFound by usStarsAssessment
trganda/ActiveMQ-RCE 26 Oct 2023 −1.5 d backfilled 28 PoC older repo: PoC date unknown, not used for the first PoC
Flags · score 15
  • no network code found (normal for a local exploit)

Below the suspicion threshold (50); does not change the assessment.

evkl1d/CVE-2023-46604 4 Nov 2023 +7.9 d backfilled 41 PoC
justdoit-cai/CVE-2023-46604-Apache-ActiveMQ-RCE-exp 8 Nov 2023 +12 d backfilled 5 PoC
duck-sec/CVE-2023-46604-ActiveMQ-RCE-pseudoshell 12 Nov 2023 +16 d backfilled 19 PoC
NKeshawarz/CVE-2023-46604-RCE 18 Nov 2023 +22 d backfilled 4 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

minhangxiaohui/ActiveMQ_CVE-2023-46604 20 Nov 2023 +23 d backfilled 1 PoC
CrackerCat/ActiveMQ_RCE_Pro_Max 20 Nov 2023 +24 d backfilled 0 PoC
mrpentst/CVE-2023-46604 9 Dec 2023 +43 d backfilled 2 PoC
dcm2406/CVE-2023-46604 16 Dec 2023 +50 d backfilled 0 PoC
tomasmussi/activemq-cve-2023-46604 30 Dec 2023 +64 d backfilled 0 PoC
hackyou1432/brokerfile.php 14 Jan 2024 +79 d backfilled 0 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

ST3G4N05/ExploitScript-CVE-2023-46604 14 Feb 2024 +110 d backfilled 1 PoC
stegano5/ExploitScript-CVE-2023-46604 14 Feb 2024 +110 d backfilled 1 PoC
Arlenhiack/ActiveMQ-RCE-Exploit 5 Mar 2024 +130 d backfilled 44 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

vulncheck-oss/cve-2023-46604 17 Apr 2024 +173 d backfilled 4 PoC
thinkycx/activemq-rce-cve-2023-46604 26 Apr 2024 +182 d backfilled 0 PoC
pulentoski/CVE-2023-46604 31 May 2024 +216 d backfilled 2 PoC
cuanh2333/CVE-2023-46604 16 Oct 2024 +355 d backfilled 0 PoC
myonggyu/whs 17 Apr 2025 +1.5 y backfilled 0 PoC
CCIEVoice2009/CVE-2023-46604 4 May 2025 +1.5 y backfilled 0 PoC
RockyDesigne/SSP-Assignment-3-RCEYouLater 4 Jan 2026 +2.2 y backfilled 2 PoC
REGGYRAIDER/CVE-2023-46604-RCE 6 Jun 2026 +2.6 y backfilled 0 PoC
stefanotractor/activemq-cve-2023-46604-lab 19 Aug 2026 +2.8 y backfilled 0 PoC
Bhanunamikaze/ActiveMQ-CVE-2023-46604 1 Sep 2026 +2.8 y backfilled 0 PoC
CyberCTF/vulhub-activemq-cve-2023-46604 8 Oct 2026 +2.9 y backfilled 0 PoC
Theocyg/CVE-2023-46604 21 Oct 2026 +3.0 y 14 Nov 2026 0 PoC
basesixtythree/B63-POC-CVE-2023-46604 22 Oct 2026 +3.0 y 14 Nov 2026 1 PoC
krevetkqqq/cve-2023-46604-activemq-lab 30 Oct 2026 +3.0 y 14 Nov 2026 0 PoC
Pending 8
RepositoryCreatedFound by usStarsAssessment
LiritoShawshark/CVE-2023-46604_ActiveMQ_RCE_Recurrence 16 Nov 2023 +19 d backfilled 2 Pending · repository exceeds size limit via PoC Index
Mudoleto/Broker_ApacheMQ 23 Dec 2023 +57 d backfilled 0 Pending
erickrr-bd/PoC-CVE 25 Jun 2025 +1.7 y backfilled 0 Pending · repository exceeds size limit via PoC Index
Abdelhalim11/CyberDefenders-OpenWire 11 Nov 2026 +3.0 y 14 Nov 2026 0 Pending
ph-hitachi/CVE-2023-46604 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
sule01u/CVE-2023-46604 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
tomasmussi-mulesoft/activemq-cve-2023-46604 unknown backfilled 0 Pending · repository unavailable (HTTP 404)
tomasmussi-mulesoft/activemq-cve-2023-46604-duplicate unknown backfilled 0 Pending · repository unavailable (HTTP 404)
Informational 17
RepositoryCreatedStarsAssessment
h3x3h0g/ActiveMQ-RCE-CVE-2023-46604-Write-up 9 Nov 2023 +13 d 3 Informational · write-up
vjayant93/CVE-2023-46604-POC 15 Nov 2023 +19 d 0 Informational · write-up
nitzanoligo/CVE-2023-46604-demo 20 Nov 2023 +24 d 0 Informational · write-up
dcm2406/CVE-Lab 7 Dec 2023 +41 d 2 Informational · write-up
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

mranv/honeypot.rs 29 May 2024 +215 d 0 Informational · detection
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

skrkcb2/CVE-2023-46604 27 Feb 2025 +1.3 y 1 Informational · write-up
vaishnavucv/Project-Vuln-Detection-N-Mitigation_101 8 Sep 2025 +1.9 y 1 Informational · detection
pavanaa4k/CVE-2023-46604-LAB 15 Nov 2025 +2.1 y 0 Informational · detection
NextCyber/nextcyber-vulnhub 28 Dec 2025 +2.2 y 1 Informational · list
fiza-naeem0902/Vulnerability-Assessment 2 Jan 2026 +2.2 y 0 Informational · write-up
sangrok-jeon/CVE-2023-46604-Analysis 15 Mar 2026 +2.4 y 0 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

mkdemir/activemq-lockbit-analysis 30 Mar 2026 +2.4 y 0 Informational · detection
Catherines77/ActiveMQ-EXPtools 20 Apr 2026 +2.5 y 86 Informational · list
Navya240/intel471-threat-hunting-cve-2023-46604 30 Apr 2026 +2.5 y 0 Informational · detection
Flags · score 35
  • README asks to download a release/binary/archive

Below the suspicion threshold (50); does not change the assessment.

light0921/webscanner 30 Apr 2026 +2.5 y 1 Informational · list
trnguyen03/activemq-ids-ips-lab 2 May 2026 +2.5 y 0 Informational · detection
aelshimony-cloud/OpenWire-CVE-2023-46604-Investigation 20 Jun 2026 +2.6 y 0 Informational · write-up
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Not a PoC 1
RepositoryCreatedStarsAssessment
DEVSECURITYSPRO/CVE-2026-34197 8 Apr 2026 +2.4 y 4 Not a PoC · unrelated
Suspicious or fake 5
RepositoryCreatedStarsAssessment
k8gege/Ladon 2 Nov 2019 −4.0 y 5,343 Fake
Anekant-Singhai/Exploits 26 Oct 2023 −1 d 2 Fake
SaumyajeetDas/CVE-2023-46604-RCE-Reverse-Shell-Apache-ActiveMQ 3 Nov 2023 +7.3 d 126 Fake
KONDORDEVSECURITYCORP/CVE-2026-34197 9 Apr 2026 +2.5 y 2 Fake
KlaasStessens/CVE-2023-46604 1 May 2026 +2.5 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 28 PoC repos

GET /

Key headers
Authorization: Basic {var}
Ports
8000, 8161
Seen in
1 repo: krevetkqqq/cve-2023-46604-activemq-lab
Evidence
krevetkqqq/cve-2023-46604-activemq-lab/poc/amq_check.py:25

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /
(?i)^/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /
alert http any any -> $HOME_NET [8000,8161] (msg:"GG PoC-Monitor CVE-2023-46604 Apache Software Foundation Apache ActiveMQ exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Authorization: Basic "; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-46604; classtype:web-application-attack; sid:9753935; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /
title: Apache Software Foundation Apache ActiveMQ exploit attempt (CVE-2023-46604)
id: gg-pocmon-cve-2023-46604-9753935
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-46604. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-46604
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.46604