# CVE-2025-31161: CrushFTP Authentication Bypass Vulnerability - Exploited (CISA KEV): yes, added 2025-04-07, known ransomware use - Published: 2025-04-03 - CVSS: 9.8 CRITICAL (v3.1) - EPSS: 100.0% (100th percentile) - CWE: CWE-305 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. ## Edge WAF coverage (claimed by vendors, not measured) | Vendor | Status | First rule | Days after publication | |---|---|---|---| | Cloudflare | Rule off by default | 2025-04-22 | 19 | | AWS | No public claim | — | — | | Microsoft Azure | No public claim | — | — | | Google Cloud | No public claim | — | — | | Fastly | Before feed history | — | — | | F5 | Rule published | 2025-05-22 | 49 | | Akamai | No public source | — | — | | OWASP CRS | No public claim | — | — | ### Cloudflare - 2025-04-22 · new · rule 1d7a3932296c42fd827055335462167c · default Disabled > CrushFTP - Auth Bypass - CVE:CVE-2025-31161. Previous action: Log. New action: Disabled. This is a New Detection Source: https://developers.cloudflare.com/changelog/post/2025-04-22-waf-release/ ### F5 - 2025-05-22 · new · rule 200013113 > Added: signature 200013113 "CrushFTP Authentication Bypass" (Authentication/Authorization Attacks, risk High), systems: Other Web Server. References: CVE-2025-31161. Source: https://docs.cloud.f5.com/docs-v2/platform/changelogs/security-details-changelog ## Our test (measured) - OWASP Core Rule Set 4.25.0, paranoia level 1, anomaly threshold 5, default CRS settings: passed (0 of 2 requests blocked), template CVE-2025-31161, 2026-11-02 - OWASP Core Rule Set 4.25.0, paranoia level 2, anomaly threshold 5, default CRS settings: passed (0 of 2 requests blocked), template CVE-2025-31161, 2026-11-02 "No public claim" means no vendor statement names this CVE; "Before feed history" means the CVE is older than the vendor feed. In both cases generic rules may still block it. HTML: https://cve.vigilbase.com/cve/CVE-2025-31161 · JSON: https://cve.vigilbase.com/api/v1/cves/CVE-2025-31161