RocketMQ versions 5.1.0 and below are vulnerable to Arbitrary Code Injection. Broker component of RocketMQ is 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.
Vulnerability
CVE-2023-33246
Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · CISA-ADP
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
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 ProgramExploit source choices
11 sources使用 Github Actions 跟踪 Github 趋势项目。
CVE-2023-33246 RocketMQ RCE Detect By Version and Exploit
Apache RocketMQ Arbitrary File Write Vulnerability Exploit
cvedb/awesome-cve-repo source repository
A go-exploit for fetching the RocketMQ broker configuration in order to discover indicators of compromise for CVE-2023-33246
CVE-2023-33246 - Apache RocketMQ config RCE
cvedb/top source repository
CVE-2023-33246 POC
pavilionq/cve-2023-33246-mitigation source repository
Generated personal blog