oss-sec mailing list archives

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


From: Rongtong Jin <jinrongtong () apache org>
Date: Wed, 12 Jul 2023 09:14:59 +0000

Severity: moderate

Affected versions:

- Apache RocketMQ 5.0.0 through 5.1.1
- Apache RocketMQ through 4.9.6

Description:

The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was 
not completely fixed in version 5.1.1. 

When NameServer address are leaked on the extranet and lack permission verification, an attacker can exploit this 
vulnerability by using the update configuration function on the NameServer component to execute commands as the system 
users that RocketMQ is running as. 

It is recommended for users to upgrade their NameServer version to 5.1.2 or above for RocketMQ 5.x or 4.9.7 or above 
for RocketMQ 4.x to prevent these attacks.

This issue is being tracked as https://github.com/apache/rocketmq/pull/6843 

Credit:

soreatu () gmail com (finder)
yuansec () outlook com  (finder)

References:

https://rocketmq.apache.org/
https://www.cve.org/CVERecord?id=CVE-2023-37582
https://issues.apache.org/jira/browse/https://github.com/apache/rocketmq/pull/6843


Current thread: