# CVE-2023-33246

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 .

- Page: https://www.vulneraibility.com/cve/CVE-2023-33246
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2023-09-06; CISA due date 2023-09-27
- EPSS: 96.57% (percentile 99.9)
- Public exploit code: 1 Metasploit module · 13 GitHub proofs of concept · 1 Nuclei template (first 2023-05-30)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-01-29)
- Weakness: CWE-94
- Also known as: GHSA-x3cq-8f32-5f63
- Published: 2023-05-24

## Affected versions

- Apache Software Foundation Apache RocketMQ: affected <= 5.1.0

A version outside these ranges is not a statement that it is unaffected.

## References

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

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
