Vulnerability
CVE-2025-31161
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · mitre
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
CrushFTP 10 before 10.8.4 and 11 before 11.3.1 allows authentication bypass and takeover of the crushadmin account (unless a DMZ proxy instance is used), as exploited in the wild in March and April 2025, aka "Unauthenticated HTTP(S) port access." A race condition exists in the AWS4-HMAC (compatible with S3) authorization method of the HTTP component of the FTP server. The server first verifies the existence of the user by performing a call to login_user_pass() with no password requirement. This will authenticate the session through the HMAC verification process and up until the server checks for user verification once more. The vulnerability can be further stabilized, eliminating the need for successfully triggering a race condition, by sending a mangled AWS4-HMAC header. By providing only the username and a following slash (/), the server will successfully find a username, which triggers the successful anypass authentication process, but the server will fail to find the expected SignedHeaders entry, resulting in an index-out-of-bounds error that stops the code from reaching the session cleanup. Together, these issues make it trivial to authenticate as any known or guessable user (e.g., crushadmin), and can lead to a full compromise of the system by obtaining an administrative account.
CVE ProgramExploit source choices
12 sourcesProof of Concept for CVE-2025-31161 / CVE-2025-2825
Shattered is a tool and POC for the new CrushedFTP vulns, CVE Exploit Script: CVE-2025-2825 vs CVE-2025-31161
🛡️ CVE-2025-31161 - CrushFTP User Creation Authentication Bypass Exploit
c4bsec/cve-2025-31161 source repository
PoC CVE-2025-31161 - Authentication Bypass CrushFTP
CrushFTP CVE-2025-31161 Exploit Tool 🔓
CVE-2025-31161
ch3m1cl/cve-2025-31161 source repository
PoC Authentication Bypass to RCE to Exploit CVE-2025-31161
iteride/cve-2025-2825 source repository
0xdtc/crushftp-auth-bypass-cve-2025-31161 source repository