CVE-2025-31161CrushFTP authentication bypass via AWS4-HMAC header
CVSS score
9.8
Critical
CVSS 3.1 from NVD
Exploit probability (EPSS)
100.0%
100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 7 Apr 2025.
US federal deadline to fix: 28 Apr 2025.
Ransomware
In plain words
A remote attacker without credentials can log in as any known or guessable user, including the crushadmin account, by sending a malformed AWS4-HMAC request to the HTTP component, sometimes combined with a race condition. Versions 10 before 10.8.4 and 11 before 11.3.1 are affected, unless the server runs behind a DMZ proxy instance. CISA reports this flaw is exploited in the wild and has been used in ransomware campaigns. Update to CrushFTP 10.8.4 or 11.3.1 or later, or take the server offline until you can patch.
Official 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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 7 Apr 2025.
US federal agencies must fix it by 28 Apr 2025. It's a sensible deadline for everyone else too.
CISA reports it has been used in ransomware attacks.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running Crushftp and compare its version with the affected versions.
Update to a fixed version
- Update Crushftp to 10.8.4, 11.3.1 or later, on the branch you run.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| CrushFTP Crushftp | ≥ 10.0.0, < 10.8.4 · ≥ 11.0.0, < 11.3.1 · ≥ 10, < 10.8.4 · ≥ 11, < 11.3.1 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-31161 being exploited?
Yes. CISA added CVE-2025-31161 to its Known Exploited Vulnerabilities catalog on 7 Apr 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-31161?
CVE-2025-31161 has a CVSS 3.1 base score of 9.8 (critical).
Which versions are affected?
CrushFTP Crushftp (≥ 10.0.0, < 10.8.4; ≥ 11.0.0, < 11.3.1; ≥ 10, < 10.8.4; ≥ 11, < 11.3.1)
Is there a patch for CVE-2025-31161?
The official record links to vendor advisories or patches; see “What to do” above.
References
- crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo(Vendor Advisory)
- www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability(Mitigation, Third Party Advisory)
- attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis(Exploit, Third Party Advisory)
- projectdiscovery.io/blog/crushftp-authentication-bypass(Exploit, Third Party Advisory)
- www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation(Exploit, Third Party Advisory)
- www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability(Exploit, Third Party Advisory)
- outpost24.com/blog/crushftp-auth-bypass-vulnerability/(Third Party Advisory)
- www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation(Press/Media Coverage)
- www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/(Press/Media Coverage)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.