面向 Next.js 应用的专业安全评估工具
本工具仅供授权安全测试和研究目的使用。
使用本软件即表示您同意遵守所有适用的法律法规。
该工具为安全专业人员提供图形化界面,用于对 Next.js 应用进行 CVE-2025-55182 漏洞测试。它帮助组织识别其 React Server Components (RSC) 实现中的潜在安全问题。
CVE-2025-55182 是影响特定版本 Next.js 框架的安全问题。该工具可帮助安全团队:
该工具包含负责任披露功能:
// Automatically blocks testing against:
// - Government domains (.gov)
// - Educational institutions (.edu)
// - Specific geographic regions
请按照以下步骤操作。macOS 用户还可以选择使用便捷的 DMG 文件。
# 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
# 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 .
./nextjs-scanner
该应用程序提供直观的图形界面:
┌─────────────────────────────────────────────────────────────┐
│ 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... │ │
│ └───────────────────────────────────────────────────────┘ │
│ │
│ [ Start Assessment ] [ Generate Report ] │
│ │
└─────────────────────────────────────────────────────────────┘
Nextjs-Security-Tool/
├── main.go # Application entry point & GUI
├── go.mod # Go module definition
├── go.sum # Dependency checksums
└── README.md # Documentation
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 支持 |
// HTTP Proxy
handler.ConfigureProxy(true, "http://127.0.0.1:8080")
// SOCKS5 Proxy
handler.ConfigureProxy(true, "socks5://127.0.0.1:1080")
该工具使用真实的浏览器用户代理:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
如果您使用此工具发现安全问题:
本工具仅供教育和授权安全测试目的使用。用户有责任:
作者不对滥用本软件承担任何责任。
欢迎在以下方面做出贡献:
请通过 GitHub 提交 issue 和拉取请求。
本项目采用 MIT 许可证。有关详细信息,请参阅 LICENSE。
专为安全专业人士打造
🔒 负责任地测试 🔒
| 功能 | 描述 |
|---|
| 🎯 定向测试 | 精确的漏洞评估 |
| 🛡️ 安全检查 | 针对敏感域的内置保护 |
| 🌐 代理支持 | 通过 SOCKS5/HTTP 代理路由 |
| 📊 详细报告 | 全面的评估结果 |
| 🖥️ GUI 界面 | 基于 Fyne 的用户友好界面 |
| 选项 | 描述 | 默认值 |
|---|
| 目标 URL | Next.js 应用 URL | 必填 |
| 启用代理 | 通过代理路由 | 已禁用 |
| 验证 SSL | 验证证书 | 已启用 |
| 超时 | 请求超时 | 30 秒 |
| WAF 绕过 | Unicode 编码模式 | 已禁用 |
encoding/json| JSON 解析 |