Apache RocketMQ < 4.9.7 / 5.x < 5.1.2 RCE (CVE-2023-37582)

critical Nessus Plugin ID 185454

Synopsis

The web application running on the remote web server is affected by a remote code execution vulnerability.

Description

The RocketMQ NameServer component still has a remote command execution vulnerability as the CVE-2023-33246 issue was not completely fixed in version 4.9.6 / 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.

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

Solution

Upgrade to Apache RocketMQ version 4.9.7, 5.1.2 or later

See Also

http://www.nessus.org/u?d1ed2c96

https://rocketmq.apache.org/release-notes

http://www.nessus.org/u?20984901

Plugin Details

Severity: Critical

ID: 185454

File Name: apache_rocketmq_5_1_2.nasl

Version: 1.1

Type: remote

Family: Web Servers

Published: 11/10/2023

Updated: 11/13/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2023-37582

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:apache:rocketmq

Required KB Items: installed_sw/Apache RocketMQ

Exploit Ease: No known exploits are available

Patch Publication Date: 6/12/2023

Vulnerability Publication Date: 7/12/2023

Reference Information

CVE: CVE-2023-37582