CVE-2023-33246
CONFIRMED EXPLOITEDApache RocketMQ Command Execution Vulnerability
Is Apache RocketMQ affected by CVE-2023-33246?
Apache RocketMQ is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2023-33246, added on 2023-09-06. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (2 vulnerable CPE entries): apache rocketmq.
Published CPE version bounds mark releases below 5.1.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2023-09-27.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-129448Same vendorApache Roller
Apache Roller Deserialization of Untrusted Data Vulnerability
- CVE-2026-90436Same vendorApache Axis
Apache Axis Unsafe Reflection Vulnerability
- CVE-2016-3081Same vendorApache Struts
Apache Struts Command Injection Vulnerability
- CVE-2026-34486Same vendorApache Tomcat
Apache Tomcat Missing Encryption of Sensitive Data Vulnerability
- CVE-2023-38831Neighboring entryRARLAB WinRAR
RARLAB WinRAR Code Execution Vulnerability
- CVE-2023-41061Neighboring entryApple iOS, iPadOS, and watchOS
Apple iOS, iPadOS, and watchOS Wallet Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to 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 or achieve the same effect by forging the RocketMQ protocol content.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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 .
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2023-09-06. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of RocketMQ has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- HTTP / web application surface (Apache RocketMQ): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running Apache RocketMQ and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
- http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2023/07/12/1Mailing ListThird Party Advisory
- https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxypMailing ListVendor Advisory
- http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://www.openwall.com/lists/oss-security/2023/07/12/1Mailing ListThird Party Advisory
- https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxypMailing ListVendor Advisory
- https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247ExploitThird Party Advisory
- https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOITExploit
- https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCEExploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246Third Party AdvisoryUS Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine