Skip to content
OpenAdvisories
Critical · 9.8 Scanner template Public exploit CVE-2023-37582 EUVD-2023-2067GHSA-gpq8-963w-8qc9

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

Published Jul 12, 2023 · Updated Apr 23, 2025 · Assigned by apache

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache RocketMQ 5.0.0 – ≤ 5.1.1, ≤ 4.9.6 —

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.

GitHub 3 repositories

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-namesrv < 4.9.7 4.9.7 GHSA-gpq8-963w-8qc9
Maven org.apache.rocketmq:rocketmq-namesrv >= 5.0.0, < 5.1.2 5.1.2 GHSA-gpq8-963w-8qc9

References