Apache RocketMQ < 4.9.6 / 5.0.x < 5.1.1 RCE

critical Nessus Plugin ID 210953

Synopsis

The remote host is missing a security update.

Description

The version of Apache RocketMQ installed on the remote host is prior to 4.9.6 or 5.1.1. It is, therefore, affected by a remote code execution vulnerability.

- 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 . (CVE-2023-33246)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Apache RocketMQ version 4.9.6 / 5.1.1 or later.

See Also

https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp

Plugin Details

Severity: Critical

ID: 210953

File Name: apache_rocketmq_5_1_1.nasl

Version: 1.2

Type: remote

Family: Web Servers

Published: 11/14/2024

Updated: 11/15/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.2

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.3

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-33246

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:rocketmq

Required KB Items: installed_sw/Apache RocketMQ

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/15/2023

Vulnerability Publication Date: 5/24/2023

CISA Known Exploited Vulnerability Due Dates: 9/27/2023

Exploitable With

Core Impact

Metasploit (Apache RocketMQ update config RCE)

Reference Information

CVE: CVE-2023-33246