CVE-2023-33246Apache RocketMQ Command Execution Vulnerability
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
96.6%
96.6% chance of exploitation in the next 30 days, higher than 99.9% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 6 Sept 2023.
US federal deadline to fix: 27 Sept 2023.
Official 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 .
Source: NVD · CNA: security@apache.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 6 Sept 2023.
US federal agencies must fix it by 27 Sept 2023. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Apache Rocketmq and compare its version with the affected versions.
Update to a fixed version
- Update Rocketmq to 4.9.6, 5.1.1 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| Apache Rocketmq | < 4.9.6 · ≥ 5.0.0, < 5.1.1 |
| Apache Apache RocketMQ | ≤ 5.1.0 |
Weakness
- CWE-94 code injection
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2023-33246 being exploited?
Yes. CISA added CVE-2023-33246 to its Known Exploited Vulnerabilities catalog on 6 Sept 2023, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 96.6% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2023-33246?
CVE-2023-33246 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
Apache Rocketmq (< 4.9.6; ≥ 5.0.0, < 5.1.1), Apache Apache RocketMQ (≤ 5.1.0)
Is there a patch for CVE-2023-33246?
The official record links to vendor advisories or patches; see “What to do” above.
References
- lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp(Mailing List, Vendor Advisory)
- packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html(Exploit, Third Party Advisory, VDB Entry)
- www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247(Exploit, Third Party Advisory)
- github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT(Exploit)
- github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE(Exploit)
- www.openwall.com/lists/oss-security/2023/07/12/1(Mailing List, Third Party Advisory)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246(Third Party Advisory, US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.