Skip to content
OpenAdvisories
Critical · 9.8 Known exploited Scanner template Public exploit CVE-2023-33246 EUVD-2023-2175GHSA-x3cq-8f32-5f63

Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function

Published May 24, 2023 · Updated Oct 21, 2025 · Assigned by apache

Description

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 .

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache RocketMQ ≤ 5.1.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 13 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.rocketmq:rocketmq-broker >= 5.0.0, < 5.1.1 5.1.1 GHSA-x3cq-8f32-5f63
Maven org.apache.rocketmq:rocketmq-controller >= 5.0.0, < 5.1.1 5.1.1 GHSA-x3cq-8f32-5f63
Maven org.apache.rocketmq:rocketmq-namesrv >= 4.0.0, < 4.9.6 4.9.6 GHSA-x3cq-8f32-5f63
Maven org.apache.rocketmq:rocketmq-namesrv >= 5.0.0, < 5.1.1 5.1.1 GHSA-x3cq-8f32-5f63

References