Known Exploited Vulnerability
9.8
CRITICAL
CVE-2023-33246
Apache RocketMQ Command Execution Vulnerability - [Actively Exploited]
Description

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 .

INFO

Published Date :

May 24, 2023, 3:15 p.m.

Last Modified :

June 27, 2024, 6:38 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
CISA Notification
CISA KEV (Known Exploited Vulnerabilities)

For the benefit of the cybersecurity community and network defenders—and to help every organization better manage vulnerabilities and keep pace with threat activity—CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.

Description :

Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to 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 or achieve the same effect by forging the RocketMQ protocol content.

Required Action :

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

Notes :

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

Public PoC/Exploit Available at Github

CVE-2023-33246 has a 35 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-33246 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Apache rocketmq
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-33246.

URL Resource
http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2023/07/12/1 Mailing List Third Party Advisory
https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp Mailing List Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Java

Updated: 4 weeks ago
0 stars 0 fork 0 watcher
Born at : June 29, 2024, 6:31 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 1 month, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : May 29, 2024, 2:45 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : May 16, 2024, 2:53 p.m. This repo has been linked 48 different CVEs too.

None

Python

Updated: 4 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : March 14, 2024, 4:29 a.m. This repo has been linked 1 different CVEs too.

None

CSS HTML JavaScript

Updated: 5 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

None

Updated: 6 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2024, 10:07 a.m. This repo has been linked 161 different CVEs too.

None

Updated: 7 months ago
1 stars 0 fork 0 watcher
Born at : Dec. 26, 2023, 12:41 p.m. This repo has been linked 1 different CVEs too.

日积月累 漏洞库

Updated: 1 week, 2 days ago
9 stars 1 fork 1 watcher
Born at : Dec. 15, 2023, 9:20 a.m. This repo has been linked 28 different CVEs too.

None

Go PowerShell Python C#

Updated: 8 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 30, 2023, 4:35 p.m. This repo has been linked 28 different CVEs too.

CVE-2023-33246 - Apache RocketMQ config RCE

Python

Updated: 5 months, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : Oct. 28, 2023, 7:08 a.m. This repo has been linked 1 different CVEs too.

bounty collection

Shell Python Dockerfile Ruby JavaScript ASP.NET Classic ASP HTML PHP Jupyter Notebook

Updated: 5 days, 3 hours ago
24 stars 4 fork 4 watcher
Born at : Sept. 11, 2023, 11:19 a.m. This repo has been linked 234 different CVEs too.

A go-exploit for fetching the RocketMQ broker configuration in order to discover indicators of compromise for CVE-2023-33246

cve-2023-33246 go-exploit

Makefile Go Dockerfile

Updated: 1 week, 2 days ago
5 stars 0 fork 0 watcher
Born at : Sept. 4, 2023, 11:18 a.m. This repo has been linked 1 different CVEs too.

Build a CVE library with aggregated CISA, EPSS and CVSS data

cisa cisa-kev cve cve-search cves cvss cvss2 cvss3 cvssv2 cvssv3 epss vulnerabilities vulnerability-assessment vulnerability-management no-dependencies nodependence

JavaScript

Updated: 8 months, 1 week ago
27 stars 3 fork 3 watcher
Born at : Aug. 31, 2023, 1:31 p.m. This repo has been linked 9 different CVEs too.

CVE-2023-33246 POC

Python

Updated: 6 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Aug. 11, 2023, 8:45 a.m. This repo has been linked 1 different CVEs too.

Apache RocketMQ Arbitrary File Write Vulnerability Exploit

Python

Updated: 4 weeks, 1 day ago
40 stars 10 fork 10 watcher
Born at : July 14, 2023, 12:22 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following table lists the changes that have been made to the CVE-2023-33246 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Modified Analysis by [email protected]

    Jun. 27, 2024

    Action Type Old Value New Value
    Changed Reference Type http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html No Types Assigned http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html Exploit, Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2023/07/12/1 No Types Assigned http://www.openwall.com/lists/oss-security/2023/07/12/1 Mailing List, Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* versions up to (excluding) 5.1.1 OR *cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* versions up to (excluding) 4.9.7 *cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.1.2
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Jul. 12, 2023

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2023/07/12/1 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 07, 2023

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html [No Types Assigned]
  • Initial Analysis by [email protected]

    May. 31, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp No Types Assigned https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp Mailing List, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:apache:rocketmq:*:*:*:*:*:*:*:* versions up to (excluding) 5.1.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-33246 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-33246 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.26 }} -0.02%

score

0.99865

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability