CVE-2025-31161
Reported by mitre · Published April 3, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| CrushFTP | CrushFTP | 10, 11 |
| crushftp | crushftp | 11, 10 |
| CrushFTP | CrushFTP | 10, 11 |
Timeline
- Mar 31, 2025 VulnCheck KEV Exploitation (83 in total, the first dated here)
- Mar 31, 2025 PoC Published (88 in total, the first dated here)
- Apr 3, 2025 CVE Published
- Apr 4, 2025 EPSS Score (30 in total, the first dated here)
- Apr 7, 2025 CISA KEV Added
- Apr 8, 2025 VulnCheck XDB Entry (19 in total, the first dated here)
- Mar 17, 2026 Security Advisory (4 in total, the first dated here)
- Mar 19, 2026 CrowdSec Sighting (83 in total, the first dated here)
- Jun 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-31161
vulnetix vdb fixes CVE-2025-31161
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-31161/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis exploit
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161 advisory
- https://projectdiscovery.io/blog/crushftp-authentication-bypass url
- https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation url
- https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation url
- https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ url
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability url
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability url