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-2022-21213 Vulnerability in npm package mout
CVE-2022-45935 Vulnerability in maven package org.apache.james:james-server-protocols-imap4
CVE-2021-26541 Vulnerability in npm package gitlog
CVE-2021-32014 Vulnerability in npm package xlsx
CVE-2019-10281 Vulnerability in maven package org.jenkins-ci.plugins:relution-publisher