Vulnerability record · CVE-2023-33246 · published 24 May 2023
CVE-2023-33246: Apache RocketMQ Missing Authentication Leads to Remote Command Execution
Apache · Rocketmq
RocketMQ 5.1.0 and below expose NameServer, Broker, and Controller components without permission verification, allowing an attacker to abuse the update configuration function to run commands as the RocketMQ system user. The same effect can be achieved by forging RocketMQ protocol content. This is a critical, unauthenticated remote code execution flaw in a widely deployed messaging middleware.
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 .
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Automated analysis
critical priorityUnauthenticated network RCE with a 9.8 CVSS score, KEV listing, near-certain EPSS probability, and public exploits makes this an urgent patch-first issue.
What it is
RocketMQ 5.1.0 and below expose NameServer, Broker, and Controller components without permission verification, allowing an attacker to abuse the update configuration function to run commands as the RocketMQ system user. The same effect can be achieved by forging RocketMQ protocol content. This is a critical, unauthenticated remote code execution flaw in a widely deployed messaging middleware.
Impact
An attacker gains arbitrary command execution with the privileges of the RocketMQ process, enabling full compromise of the host and any data or credentials it can reach. Because the flaw is unauthenticated and network-reachable, it can be used for lateral movement or ransomware staging.
Attack surface
Reached over the network via exposed RocketMQ NameServer, Broker, or Controller ports; the CVSS vector shows no privileges or user interaction required. Any instance whose components are reachable from an untrusted network is exposed.
Exploitation
CISA added it to KEV on 2023-09-06 with a 2023-09-27 remediation due date, and EPSS gives a 30-day probability of 0.96568 (99.88th percentile). Multiple public exploit references exist, confirming active exploitation.
What to do
- Upgrade to RocketMQ 5.1.1 or above for 5.x, or 4.9.6 or above for 4.x.
- Restrict network access to NameServer, Broker, and Controller ports so they are not reachable from the internet or untrusted segments.
- Enable authentication and ACLs on RocketMQ components where supported, and avoid running them as privileged system users.
- If immediate patching is not possible, apply vendor-recommended mitigations or discontinue use of the affected product per CISA guidance.
- Monitor for unauthorized configuration update requests and forged protocol traffic against RocketMQ endpoints.
Detection
- Alert on unexpected update configuration calls or protocol messages to RocketMQ NameServer, Broker, or Controller ports.
- Monitor RocketMQ process behavior for child processes or shell execution spawned by the service account.
- Review network logs for external or untrusted hosts connecting to RocketMQ ports.
- Audit RocketMQ configuration changes and correlate them with process creation events on the host.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2023-33246 to the Known Exploited Vulnerabilities catalog on 6 September 2023 as "Apache RocketMQ Command Execution Vulnerability". Required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable. Federal deadline 27 September 2023.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
Track CVE-2023-33246 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-33246), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.