CVE-2023-33246: Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function

Published May 24, 2023
·
Updated

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 .

Other sources

Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to 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 or achieve the same effect by forging the RocketMQ protocol content.

CISA

Affected Software

8 affected componentsFixes available
maven/org.apache.rocketmq:rocketmq-namesrv>=5.0.0<5.1.1
5.1.1
maven/org.apache.rocketmq:rocketmq-controller>=5.0.0<5.1.1
5.1.1
maven/org.apache.rocketmq:rocketmq-namesrv>=4.0.0<4.9.6
4.9.6
maven/org.apache.rocketmq:rocketmq-broker>=5.0.0<5.1.1
5.1.1
Apache RocketMQ<5.1.1
Apache RocketMQ
Apache RocketMQ<4.9.6
Apache RocketMQ>=5.0.0<5.1.1

Remediation

Information

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Event History

May 24, 2023
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Jul 6, 2023
Advisory Published
09:15 PM
Sep 6, 2023
Known Exploited
via CISA·12:00 AM
Jan 5, 2024
News Published
05:32 PM
Feb 8, 2024
News Published
via The Register·07:28 AM
News Published
via The Register·07:31 AM
Oct 3, 2024
News Published
via BleepingComputer·02:33 PM
News Published
via BleepingComputer·02:35 PM

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for the Apache RocketMQ command execution vulnerability?

The vulnerability ID for the Apache RocketMQ command execution vulnerability is CVE-2023-33246.

2

How severe is the Apache RocketMQ command execution vulnerability?

The Apache RocketMQ command execution vulnerability is classified as critical with a severity value of 9.

3

Which versions of RocketMQ are affected by the command execution vulnerability?

RocketMQ versions 5.1.0 and below are affected by the command execution vulnerability.

4

What is the risk associated with the Apache RocketMQ command execution vulnerability?

The Apache RocketMQ command execution vulnerability poses a risk of remote command execution.

5

How can the Apache RocketMQ command execution vulnerability be exploited?

The vulnerability can be exploited by an attacker by using leaked and unverified components of RocketMQ, such as NameServer, Broker, and Controller.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203