CVE-2023-37582CWE-94

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

Critical · published July 12, 2023

Patch now

High probability of exploitation

CVSS calls it critical at 9.8. It sits in the 99.8th percentile for exploit probability.

CVSS v3.1
9.8
EPSS
90%
Percentile
99.8
In the wild
Unconfirmed
What it is

🚨 A lingering vulnerability in RocketMQ's NameServer could let attackers execute commands remotely, like a rogue chef who can change the menu without anyone noticing! 🔥 Think of the NameServer as a restaurant's kitchen where the chef makes the meals. If the kitchen door is left ajar and someone sneaks in without permission, they could change the recipes to whatever they like. That's what happens when NameServer addresses leak without proper permission verification! An attacker could waltz right into the system and execute commands with the same privileges as system users, making it a critical security disaster. This means they could potentially manipulate data, crash services, or even take control of the entire application. The consequences could be absolutely devastating for your operations!

Put simply

Think of the NameServer as a restaurant's kitchen where the chef makes the meals. If the kitchen door is left ajar and someone sneaks in without permission, they could change the recipes to whatever they like. That's what happens when NameServer addresses leak without proper permission verification! The vulnerability resides in the NameServer component of RocketMQ, which fails to properly verify permissions when exposed on the extranet. This oversight allows an attacker to exploit the update configuration function and execute arbitrary commands.

What to do

An attacker could waltz right into the system and execute commands with the same privileges as system users, making it a critical security disaster. This means they could potentially manipulate data, crash services, or even take control of the entire application. The consequences could be absolutely devastating for your operations! To protect against this vulnerability, upgrade your RocketMQ NameServer to version 5.1.2 or above for the 5.x series, or to 4.9.7 or above for the 4.x series. It’s also wise to audit your NameServer addresses to ensure they’re not publicly accessible without authentication! You've got this! Follow these steps, and you’ll shore up your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.90427 · 99.8th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2023-07-12T09:26Z
EPSS history
Timeline
  • 12 JUL 09:26Z
    Apache RocketMQ: Possible remote code execution when using the update configuration function
    cvelistv5