CVE-2025-31161
Description
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.
Weakness
- CWE-305: Authentication Bypass by Primary Weakness
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | CrushFTP Authentication Bypass Vulnerability |
|---|---|
| Vendor / product | CrushFTP / CrushFTP |
| Date added | 2025-04-07 |
| Federal remediation due date | 2025-04-28 |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-08-15 |
Timeline
- 2025-04-03Published by the CNA00:00 UTC
- 2025-04-07Added to the CISA KEV catalog4 days after publication
- 2025-05-18First Exploit-DB entry (EDB-ID 52295)45 days after publication
- 2025-08-15CISA SSVC decision recorded134 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 52295 | remote | multiple | 2025-05-18 | no |
Nuclei templates:
- CVE-2025-31161: CrushFTP - Authentication Bypass
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| crushftp crushftp | from 10 before 10.8.4fixed in 10.8.4from 10.0.0 before 10.8.4fixed in 10.8.4from 11 before 11.3.1fixed in 11.3.1from 11.0.0 before 11.3.1fixed in 11.3.1 | 10.8.410.8.411.3.111.3.1 |
References
- https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo
- https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis
- https://projectdiscovery.io/blog/crushftp-authentication-bypass
- https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability
- https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161
- https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation
- https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2025-31161'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2025-31161'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2025-31161'curl 'https://api.contrastcyber.com/cve_products/CVE-2025-31161'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2025-31161'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).