WaratekVRT Sign in

CVE-2023-33246 RocketMQ

Affected softwareRocketMQ
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in5.1.1
WeaknessCode injection (CWE-94)
Published24 May 2023
Updated29 Sep 2026

Description

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 .

Exploitation status

Exploited

Confirmed real-world exploitation.

  • CISA KEV listed Confirmed exploitation in the wild. Added 2023-09-06 · remediation due 2023-09-27 · ransomware use: unknown
  • VulnCheck KEV listed Exploitation reported in the wild. 11 citations · honeypot sightings · 8 exploits · earliest 2023-08-28.
  • CISA Vulnrichment exploitation: active CISA records active exploitation. Automatable: yes, technical impact: total.
  • Indexed PoC 13 indexed Published artifacts you can open, in GitHub PoC, Metasploit, Nuclei; first seen 2023-05-30.
  • EPSS 97% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.9% of all scored CVEs.

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2023-33246 in VulnCheck (free account), which lists 6 more citations and 3 more exploit references not shown here.

EvidenceSourceDetailDate
Honeypot sighting Shadowserver honeypots Exploitation attempts seen on 592 days 2024-01-01 to 2026-11-10
Honeypot sighting VulnCheck canaries Exploitation attempts seen on 9 days 2026-06-07 to 2026-10-08
Reported exploitation blogs.juniper.net /en-us/threat-research/dreambus-botnet-resurfaces-targets-rocketmq-vulnerability 2023-08-28
Reported exploitation vulncheck.com /blog/rocketmq-exploit-payloads 2023-09-05
Reported exploitation cisa.gov /sites/default/files/feeds/known_exploited_vulnerabilities.json 2023-09-06
Reported exploitation zscaler.com /blogs/security-research/dreambus-unleashes-metabase-mayhem-new-exploit-module 2024-01-11
Reported exploitation horizon3.ai /analysis-of-2023s-known-exploited-vulnerabilities 2024-02-06
Exploit reference VulnCheck XDB cf4f1e593dfc Exploit type: initial-access 2023-05-30
Exploit reference VulnCheck XDB b486dcf3f31d Exploit type: initial-access 2023-06-01
Exploit reference VulnCheck XDB 3068e2f9ef10 Exploit type: initial-access 2023-08-11
Exploit reference VulnCheck XDB 6a010bfe0097 Exploit type: initial-access 2023-09-04
Exploit reference VulnCheck XDB 893a13b107de Exploit type: initial-access 2023-12-20

3 of these are GitHub repositories with fewer than 5 stars. They are listed for reference and don't count toward the exploitation status above.

IndexArtifactStarsFirst seen
GitHub PoC Apache RocketMQ 远程代码执行漏洞(CVE-2023-33246) Exploit 113 2023-06-01
Nuclei RocketMQ <= 5.1.0 - Remote Code Execution
Metasploit Apache RocketMQ update config RCE (excellent rank)
GitHub PoC CVE-2023-33246 RocketMQ RCE Detect By Version and Exploit 106 2023-06-01
GitHub PoC Apache RocketMQ 远程代码执行漏洞(CVE-2023-33246) Exploit 81 2023-06-01
GitHub PoC I5N0rth/CVE-2023-33246 62 2023-05-30
GitHub PoC A go-exploit for fetching the RocketMQ broker configuration in order to discover indicators of compromise for CVE-2023-33246 5 2023-09-04
GitHub PoC CVE-2023-33246 - Apache RocketMQ config RCE 2 2023-10-28
GitHub PoC CVE-2023-33246:Apache RocketMQ 远程命令执行漏洞检测工具 2 2023-06-02
GitHub PoC PavilionQ/CVE-2023-33246-mitigation 1 2024-06-29

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A researcher's recorded decision for this specific CVE
Finding A researcher found this CVE protected by the ARMR Process rule.

Waratek research note

written 2026-11-13

Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.

Comments

Rule Name: ARMR Process rule

Unauthenticated UPDATE_BROKER_CONFIG sets rocketmqHome, which FilterServerUtil.callShell passes to Runtime.exec("sh -c ..."); the Process rule blocks the fork when its execute list matches bare sh as well as /bin/* and /usr/bin/*. The attacker changing the broker's settings is not stopped.

How to mitigate CVE-2023-33246

Upgrade RocketMQ to 5.1.1 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CISA-ADP Secondary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.rocketmq:rocketmq-broker 5.0.0 5.1.1 unbounded
org.apache.rocketmq:rocketmq-namesrv 4.0.0 4.9.6 unbounded
org.apache.rocketmq:rocketmq-controller 5.0.0 5.1.1 unbounded
org.apache.rocketmq:rocketmq-namesrv 5.0.0 5.1.1 unbounded

Products and versions

4 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache rocketmq generic < 4.9.6 · ≥ 5.0.0 and < 5.1.1
osv org.apache.rocketmq rocketmq-broker generic ≥ 5.0.0 and < 5.1.1
osv org.apache.rocketmq rocketmq-controller generic ≥ 5.0.0 and < 5.1.1
osv org.apache.rocketmq rocketmq-namesrv generic ≥ 4.0.0 and < 4.9.6 · ≥ 5.0.0 and < 5.1.1

References

URLTags
https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d WEB
https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703 WEB
https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT WEB
https://github.com/apache/rocketmq PACKAGE
https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE WEB
https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp WEB
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246 WEB
https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247 WEB
http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html WEB
http://www.openwall.com/lists/oss-security/2023/07/12/1 WEB

Timeline

Published2023-05-24By the CVE Program.
VulnCheck KEV: earliest evidence2023-08-28Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
Added to CISA KEV2023-09-06Listed in CISA's Known Exploited Vulnerabilities catalog.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Last VRT activity2026-09-29Most recent commit touching this CVE's classification, patch or rule file.
VulnCheck KEV: latest evidence2026-11-10Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.
Classification created2026-11-13First commit adding this CVE's research note.