CVE-2025-31161
CVE-2025-31161 is a critical-severity vulnerability in Crushftp with a CVSS 3.x base score of 9.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2025-04-07). The underlying weakness is classified as CWE-305.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- EPSS exploit prediction: 100% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2025-04-07)
- EU (EUVD) id: EUVD-2025-9910
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2025-04-07)
- Weakness: CWE-305
- Affected product: Crushftp
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 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 severe is CVE-2025-31161?
- CVE-2025-31161 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-31161 being actively exploited?
- Yes. CVE-2025-31161 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2025-04-07, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2025-31161?
- CVE-2025-31161 affects Crushftp. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-31161?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2025-31161 have an EU (EUVD) identifier?
- Yes. CVE-2025-31161 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-9910. It is also flagged as exploited in the EUVD (since 2025-04-07).
- When was CVE-2025-31161 published?
- CVE-2025-31161 was published on 2025-04-03 and last updated on 2026-06-17.
References
- https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo
- https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/
- https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis
- https://projectdiscovery.io/blog/crushftp-authentication-bypass
- https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation
- https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation
- https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161
Affected products (1)
- cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
More vulnerabilities in Crushftp
- CVE-2024-53552 — Critical (CVSS 9.8): CrushFTP 10 before 10.8.3 and 11 before 11.2.3 mishandles password reset, leading to account takeover.
- CVE-2024-4040 — Critical (CVSS 9.8): A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms…
- CVE-2023-43177 — Critical (CVSS 9.8): CrushFTP prior to 10.5.1 is vulnerable to Improperly Controlled Modification of Dynamically-Determined Object…
- CVE-2017-14035 — Critical (CVSS 9.8): CrushFTP 8.x before 8.2.0 has a serialization vulnerability.
- CVE-2025-54309 — Critical (CVSS 9.0): CrushFTP 10 before 10.8.5 and 11 before 11.3.4_23, when the DMZ proxy feature is not used, mishandles AS2 validation…
- CVE-2025-63419 — Medium (CVSS 6.1): Cross Site Scripting (XSS) vulnerability in CrushFTP 11.3.6_48. The Web-Based Server has a feature where users can…
Other CWE-305 vulnerabilities
- CVE-2025-4320 — Critical (CVSS 10.0): Authentication Bypass by Primary Weakness, Weak Password Recovery Mechanism for Forgotten Password vulnerability in…
- CVE-2025-24522 — Critical (CVSS 10.0): KUNBUS Revolution Pi OS Bookworm 01/2025 is vulnerable because authentication is not configured by default for the…
- CVE-2024-36388 — Critical (CVSS 10.0): MileSight DeviceHub - CWE-305 Missing Authentication for Critical Function
- CVE-2024-1403 — Critical (CVSS 10.0): In OpenEdge Authentication Gateway and AdminServer prior to 11.7.19, 12.2.14, 12.8.1 on all platforms supported by the…
- CVE-2026-19349 — Critical (CVSS 9.8): Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl…
- CVE-2026-25555 — Critical (CVSS 9.8): OpenBullet2 through version 0.3.2 contains an authentication bypass vulnerability in the API key authentication…