
Exploits für Apache RocketMQ-Broker, die für CVE-2023-33246 Remote-Codeausführung anfällig sind, und überprüft Ziele per IP, CIDR oder Dateieingabe.
CVE-2023-33246 - Apache RocketMQ Konfiguration Remotecodeausführung Exploit
RocketMQ ist eine verteilte Messaging- und Streaming-Plattform.
RocketMQ-Versionen 5.1.0 und darunter sind anfällig für Arbitrary Code Injection. Die Broker-Komponente von RocketMQ ist im Extranet verfügbar und es fehlt eine Berechtigungsprüfung. Ein Angreifer kann diese Schwachstelle ausnutzen, indem er die Konfigurationsaktualisierungsfunktion verwendet, um Befehle als die Systembenutzer auszuführen, unter denen RocketMQ läuft. Darüber hinaus kann ein Angreifer denselben Effekt erzielen, indem er den Inhalt des RocketMQ-Protokolls fälscht.
usage: check.py [-h] [--ip IP] [--file FILE] [--port PORT] [--cidr CIDR]
Check CVE-2023-33246 RocketMQ RCE vulnerability
optional arguments:
-h, --help show this help message and exit
--ip IP A single IP address to check
--file FILE A file containing a list of IP addresses, one per line
--port PORT The port number to use when connecting to the server (default
is 9876)
--cidr CIDR A CIDR range to scan (e.g. 1.2.3.0/24)
python3 check.py --ip 127.0.0.1 --port 9876
python3 check.py --cidr 192.168.1.0/24
# oder
python3 check.py --file rocketmq_targets.txt --port 9876
# Ziel im Dateiformat:
# ip
# ip:port
# http://ip:port