CVE-2025-31161
Last modified
CVE-2025-31161 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. CISA has confirmed active exploitation in the wild. EPSS estimates a 99.96% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitation Status
This vulnerability is listed in CISA’s Known Exploited Vulnerabilities catalog, confirming active exploitation in the wild. Federal agencies must remediate by .
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Crushftp | Crushftp | >= 10.0.0, < 10.8.4 |
| Crushftp | Crushftp | >= 11.0.0, < 11.3.1 |
References
- https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/Third Party Advisory
- https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysisExploit, Third Party Advisory
- https://projectdiscovery.io/blog/crushftp-authentication-bypassExploit, Third Party Advisory
- https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitationExploit, Third Party Advisory
- https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/Press/Media Coverage
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerabilityExploit, Third Party Advisory
- https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerabilityMitigation, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161US Government Resource
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-31161?
How severe is CVE-2025-31161?
How do I fix CVE-2025-31161?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-31145Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2025-31146Time-of-check time-of-use race condition for some Intel Ethe…6.1
- CVE-2025-31147Unauthenticated attackers can query information about total …6.9
- CVE-2025-3115Injection Vulnerabilities: Attackers can inject malicious co…9.8
- CVE-2025-3116CWE-20: Improper Input Validation vulnerability exists that …7.1
- CVE-2025-31160atop through 2.11.0 allows local users to cause a denial of …2.9
- CVE-2025-31162Floating point exception in fig2dev in version 3.2.9a allows…6.6
- CVE-2025-31163Segmentation fault in fig2dev in version 3.2.9a allows an at…6.6
- CVE-2025-31164heap-buffer overflow in fig2dev in version 3.2.9a allows an …6.6
- CVE-2025-31165Cross-Site Scripting (XSS) vulnerability in the Logbug modul…6.9
- CVE-2025-3117CWE-79: Improper Neutralization of Input During Web Page Gen…5.4
- CVE-2025-31170Access control vulnerability in the security verification mo…9.1
Are you affected by CVE-2025-31161?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
