Skip to main content

CVE-2023-33246

Apache — Apache RocketMQ Command Execution Vulnerability

Apache · CWE-94 — Code injection · in CISA KEV since 2023-09-06

ExigentKEV since 2023 · listed over a yearCISA KEVActively Exploited
86

EVRS 86 of 100 Immediate

Out-of-Band / Urgent Remediation

Rank 332 of 2,954 tracked

Download PDF

Why it scores 86

Evidence available: 6 of 7 signals

Listed in the CISA KEV catalog, and an EPSS probability of 0.966.

  • CISA KEVApplied
  • RansomwareDid not apply
  • Vendor exploitationDid not apply
  • EPSSApplied
  • Microsoft Exploitability IndexNot applicable
  • Pre-patch disclosureNo data
  • KEV recencyDid not apply
  • CVSSApplied

The band answers “how soon”, not “how bad”. No data for: Pre-patch disclosure. Why some signals show no data

Fix

Patch or fixed version identified

CISA required action

Fixed in

  • org.apache.rocketmq:rocketmq-broker5.1.1
  • org.apache.rocketmq:rocketmq-namesrv4.9.65.1.1update to this version or later in your release line
  • org.apache.rocketmq:rocketmq-controller5.1.1

Affected versions

  • org.apache.rocketmq:rocketmq-broker (maven)affected >= 5.0.0, < 5.1.1, fixed in 5.1.1
  • org.apache.rocketmq:rocketmq-namesrv (maven)affected >= 4.0.0, < 4.9.6, fixed in 4.9.6affected >= 5.0.0, < 5.1.1, fixed in 5.1.1
  • org.apache.rocketmq:rocketmq-controller (maven)affected >= 5.0.0, < 5.1.1, fixed in 5.1.1

Remediation

Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Fixed versions from NVD and GitHub. Affected packages also in GitHub Advisory GHSA-x3cq-8f32-5f63 (CC BY 4.0).

Evidence

Each value with its source
MeasureValueSource
CVSS base scoreHow severe the flaw is in itself. It does not say how likely an attack is. 9.8 NVD
FIRST EPSSFIRST's estimate of the chance this is exploited in the next 30 days, and how that ranks against all CVEs. 0.966 (99.88th pctl) FIRST EPSS
Actively exploitedWhether a source of record has confirmed attacks using it in the wild. Confirmed CISA KEV
Ransomware campaign useWhether CISA has seen ransomware operators use it. Unknown or none CISA KEV
CISA remediation deadlineThe date US federal agencies must have fixed or mitigated it. 2023-09-27 · KEV since 2023 · listed over a year CISA KEV
Public exploit moduleA module existing is not the same as active exploitation. Public module exists Metasploit
EUVD cross-referenceENISA's record: CVSS 9.8 (v3.1), assigned by apache. Listed ENISA EUVD

Description

NVD

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 .

What CISA says to do

Public module

Metasploit lists a public excellent-rank module for this CVE: Apache RocketMQ update config RCE (multi/http/apache_rocketmq_update_config). A module existing is not the same as active exploitation; see metasploit.com.