CVE-2023-33246Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
- 9.8CriticalCVSS base score
- 96.6%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 6 Sept 2023
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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 .
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as Apache RocketMQ Command Execution Vulnerability.
- Added
- 6 Sept 2023
- Fix due (US federal)
- 27 Sept 2023
- Used by ransomware
- Not known
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 6 Sept 2023.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. 2 references of the record are tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits4
Metasploit modules1 module
- Apache RocketMQ update config RCE (Metasploit module) (opens in a new tab)
exploit/multi/http/apache_rocketmq_update_configRank excellentdisclosed 23 May 2023
Nuclei templates1 template
- RocketMQ <= 5.1.0 - Remote Code Execution (Nuclei template) (opens in a new tab)
network/cves/2023/CVE-2023-33246.yamlSeverity critical
References tagged exploit2 references
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 3 days later
· 3 days later
Published
- 4 months later
· 4 months later
Added to CISA KEV
Known exploited in the wild
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 96.6% · top 0.1% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache RocketMQ
- affected ≤ 5.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.apache.rocketmq:rocketmq-brokerGHSA-x3cq-8f32-5f63 (opens in a new tab)
- Mavenorg.apache.rocketmq:rocketmq-controllerGHSA-x3cq-8f32-5f63 (opens in a new tab)
- Mavenorg.apache.rocketmq:rocketmq-namesrvGHSA-x3cq-8f32-5f63 (opens in a new tab)
References
References7
- https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp (opens in a new tab)vendor-advisoryx_transferred
- http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/07/12/1 (opens in a new tab)x_transferred
- https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247 (opens in a new tab)
- https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT (opens in a new tab)exploit
- https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE (opens in a new tab)exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-2175 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-x3cq-8f32-5f63 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-33246)Record last updated .