CVE-2023-33246
Confirmed PUBLISHEDApache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
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 .
- CVE Published
- May 24, 2023
- Exploitation Reported
- Sep 06, 2023
- CVSS
- 9.8 Critical
- EPSS
- 96.6%
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| Apache Software Foundation |
Apache RocketMQ
|
0 to <= 5.1.0 |
Affected |
CVE References
- Apache Mailing List lists.apache.org · Vendor Advisory https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp
- packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary... packetstormsecurity.com · CVE Record http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arb...
- OSS-Security Mailing List openwall.com · CVE Record http://www.openwall.com/lists/oss-security/2023/07/12/1
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| CISA First | 2023-09-06 00:00 UTC |
| The Shadowserver | 2026-07-08 00:00 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2023/CVE-2023-33246.yaml | Apr 25, 2025 |
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_rocketmq_update_config.rb | Apr 28, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2023-09-06 00:00:00 UTC · CISA
Proof of concept available
Recorded 2023-05-30 02:18:29 UTC · GitHub
Weaknesses (CWE)
-
Improper Control of Generation of Code ('Code Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Metasploit | https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_rocketmq_update_config.rb | Apr 28, 2025 |
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2023/CVE-2023-33246.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2023-10-28 07:08:19 UTC · 2 stars
CVE-2023-33246 - Apache RocketMQ config RCE
github · Created 2023-06-02 01:41:12 UTC · 2 stars
CVE-2023-33246:Apache RocketMQ 远程命令执行漏洞检测工具
github · Created 2023-06-01 14:48:26 UTC · 100 stars
CVE-2023-33246 RocketMQ RCE Detect By Version and Exploit
github · Created 2023-06-01 06:27:09 UTC · 106 stars
Apache RocketMQ 远程代码执行漏洞(CVE-2023-33246) Exploit
github · Created 2023-06-01 02:17:20 UTC · 80 stars
Apache RocketMQ 远程代码执行漏洞(CVE-2023-33246) Exploit
github · Created 2023-05-31 07:28:46 UTC · 2 stars
github · Created 2023-05-30 02:18:29 UTC · 62 stars
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC 10 days ago00:00 UTC · 10 days ago
KEV confirmed by The Shadowserver
Exploitation attested by an external source
-
15:02 UTC about 1 year ago15:02 UTC · about 1 year ago
Metasploit module available
Exploit module available
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
00:00 UTC almost 3 years ago00:00 UTC · almost 3 years ago
Added to CISA KEV
Listed in the CISA Known Exploited Vulnerabilities catalog
-
02:18 UTC about 3 years ago02:18 UTC · about 3 years ago
Public PoC available
Public proof-of-concept code published
-
14:45 UTC about 3 years ago14:45 UTC · about 3 years ago
CVE published
Vulnerability disclosed publicly
-
08:12 UTC about 3 years ago08:12 UTC · about 3 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2023-33246
{
"cve_id": "CVE-2023-33246",
"title": "Apache RocketMQ: Possible remote code execution vulnerability when using the ...",
"affected_vendor": "Apache Software Foundation",
"affected_product": "Apache RocketMQ",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "Confirmed",
"cvss_score": 9.8,
"epss_score": 0.96604,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}