# 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.

- Page: https://www.vulneraibility.com/cve/CVE-2025-31161
- CVSS: 9.8
- Known exploited: yes, in CISA KEV since 2025-04-07; CISA due date 2025-04-28; known ransomware use
- EPSS: 99.97%
- Public exploit code: 1 on Exploit-DB · 20 GitHub proofs of concept · 1 Nuclei template (first 2025-04-08)
- CISA SSVC: exploitation active, automatable yes, technical impact total (assessed 2025-08-15)
- Weakness: CWE-305
- Published: 2025-04-03

## Affected versions

- CrushFTP: affected >= 10 and < 10.8.4; >= 11 and < 11.3.1

A version outside these ranges is not a statement that it is unaffected.

## References

- [other] https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/
- [other] https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo
- [other] https://projectdiscovery.io/blog/crushftp-authentication-bypass
- [other] https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation
- [other] https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation
- [other] https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis
- [other] https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/
- [other] https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability
- [other] https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
