// For flags

CVE-2023-33246

Apache RocketMQ Command Execution Vulnerability

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

11
*Multiple Sources

Exploited in Wild

Yes
*KEV

Decision

-
*SSVC
Descriptions

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 .

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.

*Credits: lvyyevd@gmail.com
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-05-21 CVE Reserved
  • 2023-05-24 CVE Published
  • 2023-05-30 First Exploit
  • 2023-09-06 Exploited in Wild
  • 2023-09-27 KEV Due Date
  • 2024-08-19 CVE Updated
  • 2024-11-03 EPSS Updated
CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Apache
Search vendor "Apache"
Rocketmq
Search vendor "Apache" for product "Rocketmq"
< 4.9.7
Search vendor "Apache" for product "Rocketmq" and version " < 4.9.7"
-
Affected
Apache
Search vendor "Apache"
Rocketmq
Search vendor "Apache" for product "Rocketmq"
>= 5.0.0 < 5.1.2
Search vendor "Apache" for product "Rocketmq" and version " >= 5.0.0 < 5.1.2"
-
Affected