Skip to main content
← All vulnerabilities
CVE-2023-37582GHSA-GPQ8-963W-8QC9

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.9.7, 5.1.2
3 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: none
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Apache Software Foundation Apache RocketMQ

    From 5.0.0 · through 5.1.1; through 4.9.6

  • org.apache.rocketmq:rocketmq-namesrvMaven

    fixed in 4.9.7

  • org.apache.rocketmq:rocketmq-namesrvMaven

    From 5.0.0 · fixed in 5.1.2

References 6

lists.apache.org

openwall.com

GitHub · projectdiscovery/nuclei-templates

GitHub · Malayke/CVE-2023-37582_EXPLOIT

GitHub · laishouchao/Apache-RocketMQ-RCE-CVE-2023-37582-poc

GitHub · shoucheng3/apache__rocketmq_CVE-2023-37582_4-9-6