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.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/07/12/1
https://lists.apache.org/thread/m614czxtpvlztd7mfgcs2xcsg36rdbnc
Related Vulnerabilities
CVE-2021-21307 Vulnerability in maven package org.lucee:lucee
CVE-2022-4245 Vulnerability in maven package org.codehaus.plexus:plexus-utils
CVE-2021-39236 Vulnerability in maven package org.apache.ozone:ozone-main
CVE-2021-21640 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2018-11804 Vulnerability in maven package org.apache.spark:spark-core