PoC Monitor
← All CVEs
CVE-2023-33246published 24 May 2023 14:45 UTCData: JSON · API

Apache Software Foundation Apache RocketMQ

Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function

For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution.  Several components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content.  To prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .

First public PoC 5.5 daysafter publication · 30 May 2023
Public PoCs86 on GitHub · 2 Exploit-DB, Metasploit or nuclei · +1 suspicious, not counted
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 6 Sep 2023105 days after publication

Affected versions and mitigation

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

Affected

org.apache.rocketmq:rocketmq-broker (Maven)
  • >= 5.0.0, < 5.1.1

Fixed in 5.1.1

from GitHub Security Advisory GHSA-x3cq-8f32-5f63

org.apache.rocketmq:rocketmq-namesrv (Maven)
  • >= 4.0.0, < 4.9.6

Fixed in 4.9.6

from GitHub Security Advisory GHSA-x3cq-8f32-5f63

org.apache.rocketmq:rocketmq-controller (Maven)
  • >= 5.0.0, < 5.1.1

Fixed in 5.1.1

from GitHub Security Advisory GHSA-x3cq-8f32-5f63

org.apache.rocketmq:rocketmq-namesrv (Maven)
  • >= 5.0.0, < 5.1.1

Fixed in 5.1.1

from GitHub Security Advisory GHSA-x3cq-8f32-5f63

Mitigation

Upgrade org.apache.rocketmq:rocketmq-broker to 5.1.1 or later.

Upgrade org.apache.rocketmq:rocketmq-namesrv to 4.9.6 or later.

Upgrade org.apache.rocketmq:rocketmq-controller to 5.1.1 or later.

Upgrade org.apache.rocketmq:rocketmq-namesrv to 5.1.1 or later.

Timeline

Days relative to CVE publication
t=0+14+28+42+56+70+84+98CVE published24 May 2023 · t = 0First public PoC30 May 2023 · t+5.5dAdded to CISA KEV6 Sep 2023 · t+105d

First public PoC 5.5 days after publication; added to CISA KEV 105 days after publication. First PoC: I5N0rth/CVE-2023-33246 (created 30 May 2023, found by us: backfilled).

PoC repositories

Found on GitHub.

6 PoCs · 5 pending · 6 informational · 1 not a PoC · 2 suspicious or fake

PoCs 6
RepositoryCreatedStarsAssessment
I5N0rth/CVE-2023-33246 30 May 2023 +5.5 d 62 PoC via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

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

Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT 1 Jun 2023 +8 d 106 PoC
Flags · score 20
  • large base64 blob in code in check.py

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

d0rb/CVE-2023-33246 11 Aug 2023 +79 d 1 PoC
0xKayala/CVE-2023-33246 28 Oct 2023 +157 d 2 PoC
Sumitpathania03/Apache-RocketMQ-CVE-2023-33246- 28 Mar 2024 +309 d 0 PoC
shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0 17 Aug 2025 +2.2 y 0 PoC
Pending 5
RepositoryCreatedStarsAssessment
liang2kl/iot-exploits 5 Jul 2023 +42 d 3 Pending · repository exceeds size limit via PoC Index
Devil0ll/CVE-2023-33246 unknown 0 Pending · repository unavailable (HTTP 404)
hanch7274/CVE-2023-33246 unknown 0 Pending · repository unavailable (HTTP 404)
hheeyywweellccoommee/CVE-2023-33246-dgjfd unknown 0 Pending · repository unavailable (HTTP 404)
hheeyywweellccoommee/CVE-2023-33246-rnkku unknown 0 Pending · repository unavailable (HTTP 404)
Informational 6
RepositoryCreatedStarsAssessment
4mazing/CVE-2023-33246-Copy 31 May 2023 +6.7 d 1 Informational · write-up
yizhimanpadewoniu/CVE-2023-33246-Copy 31 May 2023 +6.7 d 1 Informational · write-up
Le1a/CVE-2023-33246 1 Jun 2023 +7.5 d 81 Informational · write-up
SuperZero/CVE-2023-33246 1 Jun 2023 +7.7 d 113 Informational · write-up
P4x1s/CVE-2023-33246 2 Jun 2023 +8.5 d 2 Informational · write-up
MkJos/CVE-2023-33246_RocketMQ_RCE_EXP 26 Dec 2023 +216 d 1 Informational · write-up
Flags · score 30
  • owner account created less than 7 days before the repo

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

Not a PoC 1
RepositoryCreatedStarsAssessment
Malayke/CVE-2023-37582_EXPLOIT 14 Jul 2023 +51 d 47 Not a PoC · unrelated
Suspicious or fake 2
RepositoryCreatedStarsAssessment
vulncheck-oss/fetch-broker-conf 4 Sep 2023 +103 d 5 Fake
PavilionQ/CVE-2023-33246-mitigation 29 Jun 2024 +1.1 y 1 Suspicious · score 80
Why suspicious
  • README asks to download a release/binary/archive
  • owner account created less than 7 days before the repo
  • no network code found (normal for a local exploit)

Only PoCs count toward the first-PoC date and the characteristics below. Suspicious repositories (score ≥ 50) never count. 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 6 PoC repos

Regex

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

GET /cluster/list.query
(?i)^/cluster/list\.query(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /cluster/list.query
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2023-33246 Apache Software Foundation Apache RocketMQ exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cluster/list.query"; reference:url,poc.griffinguard.io/cve/CVE-2023-33246; classtype:web-application-attack; sid:9264552; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /cluster/list.query
title: Apache Software Foundation Apache RocketMQ exploit attempt (CVE-2023-33246)
id: gg-pocmon-cve-2023-33246-9264552
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-33246. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2023-33246
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/cluster/list.query'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2023.33246