
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.