Vulnerability record

CVE-2023-33246

Apache RocketMQ Command Execution Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run RocketMQ, fix it now.

CISA required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

US federal civilian agencies must remediate by Sep 27, 2023.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

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: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
RocketMQApache Software Foundation< 4.9.6; >= 5.0.0, < 5.1.14.9.6; 5.1.1KEV

Sources: KEV = CISA Known Exploited Vulnerabilities catalog.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2023-33246 scored CVSS 9.8: Apache RocketMQ, Apache RocketMQ Command Execution Vulnerability

    CISA lists this as exploited in the wild. Unpatched RocketMQ systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

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