Skip to content

CVE-2023-33246 — For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of…

Key facts

CVE-2023-33246 is a Critical (9.8) vulnerability: For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of…. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2023-09-06), confirming active exploitation in the wild.

Actively exploited — on the CISA KEV catalog

CVE-2023-33246 is listed on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2023-09-06), confirming exploitation in the wild. Federal remediation deadline: 2023-09-27. Prioritise patching and deploy the detection and prevention rules below.

CVE CVE-2023-33246
Severity Critical (9.8)
CISA KEV Actively exploited (added 2023-09-06)
Detection / prevention —
PoC poc.py
Source 2023/CVE-2023-33246/

Details

English | 한국어

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 .

Vulnerability Details

Property Value
CVE ID CVE-2023-33246
Type RCE
CVSS Score 9.8

Proof of Concept

Download

# Download PoC script
curl -O https://raw.githubusercontent.com/fankh/vulnerability-poc/main/2023/CVE-2023-33246/poc.py

Usage

# Run PoC against target
python3 poc.py --target <TARGET_URL>

# With authentication
python3 poc.py --target <TARGET_URL> --username <USER> --password <PASS>

⚠️ Warning: This PoC is for authorized security testing only. It uses detection-only techniques and does not exploit or damage target systems.

Test Lab

This repository includes a Docker-based test environment with both vulnerable and patched applications.

Quick Start

# Clone and navigate to CVE directory
cd CVE-2023-33246

# Start both applications
docker-compose up -d

# Run tests
./run-tests.sh    # Linux/Mac
./run-tests.ps1   # Windows PowerShell

Application Endpoints

Application URL Status
Vulnerable App http://localhost:8080 Shows vulnerability
Patched App http://localhost:8081 Demonstrates fix

Directory Structure

├── README.md           # English documentation
├── README_KO.md        # Korean documentation
├── poc.py              # PoC detection script
├── docker-compose.yml  # Container orchestration
├── run-tests.sh        # Linux/Mac test runner
├── run-tests.ps1       # Windows test runner
├── vulnerable-app/     # Vulnerable version
│   ├── app.py
│   ├── Dockerfile
│   └── requirements.txt
└── patched-app/        # Fixed version
    ├── app.py
    ├── Dockerfile
    └── requirements.txt

References

  • http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html
  • http://www.openwall.com/lists/oss-security/2023/07/12/1
  • https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp
  • http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html
  • http://www.openwall.com/lists/oss-security/2023/07/12/1
  • https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp
  • https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247
  • https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT
  • https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE
  • https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246

Generated by PoC Generator on 2026-07-01T13:18:12.715588717

Frequently asked questions

What is CVE-2023-33246?

CVE-2023-33246 is a Critical (9.8) vulnerability: For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of…. This entry ships a detection-only PoC and a Docker test lab. It is on the CISA Known Exploited Vulnerabilities (KEV) catalog (added 2023-09-06), confirming active exploitation in the wild.

How do I detect CVE-2023-33246?

Run the detection-only PoC included with this entry against your Docker test lab to confirm whether a target is affected; pair it with your own IDS logging.

How do I block or mitigate CVE-2023-33246?

Upgrade to a fixed version per the vendor advisory; the NVD record lists the affected versions. Use the included PoC to verify your remediation.

Is CVE-2023-33246 actively exploited?

Yes. CVE-2023-33246 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, added 2023-09-06, which means it has been exploited in the wild. CISA set a federal remediation deadline of 2023-09-27. Prioritise patching and deploy the detection and prevention rules above.


For authorized security testing and research only. See the full source and NVD record.