## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-LUCYZ1125-CVE-2025-55182-NEXT.JS-RCE
# 🔍 Next.js 安全测试工具
   
**专为 Next.js 应用设计的专业安全评估工具**
* * *
## ⚠️ 免责声明
**本工具仅供授权安全测试和研究用途。**
* ✅ 仅用于你拥有或获得明确测试许可的系统
* ✅ 用于授权范围内的漏洞赏金计划
* ✅ 用于安全研究人员和渗透测试人员
* ❌ 切勿对未授权的系统使用
* ❌ 不得用于任何恶意或非法活动
使用本软件即表示您同意遵守所有适用的法律法规。
* * *
## 📖 概述
该工具为安全专业人员提供了一个图形界面,用于测试 Next.js 应用是否受 CVE-2025-55182 影响。帮助企业识别其 React Server Components (RSC) 实现中的潜在安全问题。
### 什么是 CVE-2025-55182?
CVE-2025-55182 是影响某些版本 Next.js 框架的安全问题。本工具帮助安全团队:
* 识别受影响的 Next.js 安装
* 验证补丁状态
* 评估安全态势
* 记录发现以便修复
## ✨ 功能特性
### 安全评估
### 内置保障
该工具包含负责任披露功能:
root@kitploit:~
// Automatically blocks testing against:
// - Government domains (.gov)
// - Educational institutions (.edu)
// - Specific geographic regions
### 技术能力
* **协议支持** :HTTP/HTTPS,可配置 SSL 验证
* **代理选项** :支持 HTTP、HTTPS、SOCKS5 代理
* **连接处理** :可配置超时与连接池
* **编码** :用于 WAF 测试的 Unicode 载荷编码
## 🚀 安装
## **对于 Windows 和 macOS 的手动安装,**
请按照以下步骤操作。macOS 用户还可以选择使用便捷的 DMG 文件。
### 前置条件
* Go 1.24 或更高版本
* Fyne 依赖(用于 GUI)
* 互联网连接
### 从源码构建
root@kitploit:~
# Clone the repository
git clone https://github.com/ssmvl2/Nextjs-RCE-Exploit.git
cd Nextjs-RCE-Exploit
# Install dependencies
go mod download
# Build the application
go build -o nextjs-scanner .
# Run
./nextjs-scanner
### 跨平台构建
root@kitploit:~
# Windows
GOOS=windows GOARCH=amd64 go build -o nextjs-scanner.exe .
# Linux
GOOS=linux GOARCH=amd64 go build -o nextjs-scanner-linux .
# macOS
GOOS=darwin GOARCH=amd64 go build -o nextjs-scanner-mac .
## 📖 使用说明
### 启动应用
root@kitploit:~
./nextjs-scanner
### GUI 界面
该应用提供直观的图形界面:
root@kitploit:~
┌─────────────────────────────────────────────────────────────┐
│ Next.js Security Assessment Tool │
├─────────────────────────────────────────────────────────────┤
│ │
│ Target URL: [https://example.com________________] │
│ │
│ ☐ Enable Proxy Proxy: [127.0.0.1:8080________] │
│ ☐ Verify SSL Timeout: [30 seconds__________] │
│ ☐ WAF Bypass Mode │
│ │
│ ┌───────────────────────────────────────────────────────┐ │
│ │ Assessment Log: │ │
│ │ [2025-01-15 10:30:15] Starting assessment... │ │
│ │ [2025-01-15 10:30:16] Connecting to target... │ │
│ │ [2025-01-15 10:30:17] Analyzing response... │ │
│ └───────────────────────────────────────────────────────┘ │
│ │
│ [ 开始评估 ] [ 生成报告 ] │
│ │
└─────────────────────────────────────────────────────────────┘
### 配置选项
## 🏗️ 架构
### 项目结构
root@kitploit:~
Nextjs-Security-Tool/
├── main.go # Application entry point & GUI
├── go.mod # Go module definition
├── go.sum # Dependency checksums
└── README.md # Documentation
### 核心组件
root@kitploit:~
type RequestHandler struct {
httpClient *http.Client
requestTimeout time.Duration
sslVerify bool
browserAgent string
}
type PayloadResponse struct {
Success bool `json:"success"`
Result string `json:"result"`
Error string `json:"error,omitempty"`
}
### 依赖项
包| 用途
---|---
`fyne.io/fyne/v2`| 跨平台 GUI 框架
`net/http`| HTTP 客户端功能
`crypto/tls`| TLS/SSL 支持
## 🔧 配置
### 代理设置
root@kitploit:~
// HTTP Proxy
handler.ConfigureProxy(true, "http://127.0.0.1:8080")
// SOCKS5 Proxy
handler.ConfigureProxy(true, "socks5://127.0.0.1:1080")
### 自定义用户代理
该工具使用真实的浏览器用户代理:
root@kitploit:~
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
## 📋 负责任披露
如果您使用本工具发现安全问题:
1. **在通知供应商之前不要公开披露**
2. **向供应商报告并提供详细信息**
3. **允许合理的补丁修复时间(通常 90 天)**
4. **遵循协调披露实践**
### 报告渠道
* Next.js 安全:some-email@example.com
* HackerOne 漏洞赏金计划
## 🛡️ 法律声明
本工具仅供教育和授权安全测试用途。用户需负责:
* 在测试前获取相应授权
* 遵守适用法律法规
* 合乎道德且负责任地使用工具
* 因滥用产生的任何后果
作者对滥用本软件不承担任何责任。
## 🤝 贡献
欢迎为以下方面贡献:
* 修复 Bug
* 改进文档
* 增强安全功能
* 改进 UI/UX
请通过 GitHub 提交 issue 和 pull request。
## 📄 许可证
本项目采用 MIT 许可证。详见 LICENSE 文件。
## 📚 参考
* CVE-2025-55182 详情
* Next.js 安全文档
* React Server Components 安全
* OWASP 测试指南
* * *
**为安全专业人士打造**
🔒 负责任地测试 🔒