
PoC,针对 CVE-2025-55182 的 React2Shell 狩猎
访问 Shodan。
在搜索栏中输入以下查询,以查找运行存在漏洞的 Next.js 框架版本的设备:
http.component:"Next.js" 200

在终端中使用 Shodan CLI 下载搜索结果:
shodan download nextjs_vuln "http.component:'Next.js' 200"

过滤结果以识别运行存在漏洞的 Next.js 版本的域名和 IP:
shodan parse --fields ip_str nextjs_data.json.gz > ips.txt
shodan parse --fields hostnames nextjs_data.json.gz > domains.txt


使用 nuclei 扫描该漏洞:
cat domains.txt | nuclei -t ./nuclei-templates/http/cves/2025/CVE-2025-55182.yaml
