
WordPress WP Query Console の CVE-2024-50498 コードインジェクション脆弱性をチェックし、リバースシェルを配信するエクスプロイトスクリプト。
LUBUS WP Query Console におけるコード生成の不適切な制御('コードインジェクション')の脆弱性により、コードインジェクションが可能になります。この問題は WP Query Console に影響します:n/a から 1.0 まで。
お使いのマシンでターミナルを開き、Netcat リスナーを起動してリバースシェル接続を待ちます。
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.
コマンドを実行したら、Netcat ターミナルでリバースシェル接続を監視します。
スクリプトは最初に、プラグインのバージョンを確認してサイトが脆弱かどうかをチェックします。 脆弱な場合、リバースシェルをトリガーするペイロードを送信します。 成功したら、Netcat ターミナルでシェル接続を確認してください。