CVE-2025-31161
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…
- Severity
- 9.8 / 10
- Critical · CVSS 3.1
- Exploit chance (EPSS)
- 99.97%
- Chance of exploitation in the next 30 days. Higher than 99.98% of scored vulnerabilities.
- Known exploited
- Yes
- In CISA's catalog since Apr 7, 2025
- Weakness
- CWE-305 Authentication Bypass by Primary Weakness
- Fix
- None yet
- No fixed version published
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.
How to fix
No fixed version has been published yet. Until one is, remove or replace the package, or turn off or isolate the affected feature. This page updates when a fix ships.
Severity breakdown
CVSS 3.1 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-305: Authentication Bypass by Primary Weakness
The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.
References
Advisories
- crushftp.com/crush11wiki/Wiki.jsp
- outpost24.com/blog/crushftp-auth-bypass-vulnerability
- attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis
- projectdiscovery.io/blog/crushftp-authentication-bypass
- huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation
- vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability
- vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability
Other links
Timeline
- Published
- Added to CISA's Known Exploited Vulnerabilities catalog
- Remediation due for U.S. federal agencies
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-45gv-9wjv-xh7p Nginx UI: Authentication bypass: password login does not enforce a passkey-only second factor (2FA bypass) | High | Same weakness, CWE-305 |
| EEF-CVE-2026-85500 `require_confirmed_with` is not enforced on the action and fails open on an unreadable attribute in AshAuthentication | Not rated yet | Same weakness, CWE-305 |
| CVE-2026-81578 An improper access control vulnerability exists in the web management interface of PaperCut MF and PaperCut NG. | High Known exploited | Same weakness, CWE-305 |
| GHSA-vx8h-4prv-g744 Rancher has Privilege Escalation from Project Owner to Host | High | Same weakness, CWE-305 |
| GHSA-q6h7-xxp7-7429 Keycloak has an Authentication Bypass by Primary Weakness | Medium | Same weakness, CWE-305 |
| GHSA-jp3f-x449-4q75 Mattermost doesn't enforce client identity binding during the OAuth authorization code redemption flow | Low | Same weakness, CWE-305 |
| GHSA-75cm-x2w3-8mgf MLflow: unauthenticated access to certain FastAPI routes | High | Same weakness, CWE-305 |
| GHSA-phrq-pc6r-f6gh MantisBT is vulnerable to authentication bypass through the SOAP API on MySQL | Critical | Same weakness, CWE-305 |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor