CVE-2025-31161

9.8 CRITICAL CISA KEV - Actively Exploited
Published: April 03, 2025 Modified: October 31, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/
Source: cve@mitre.org
Third Party Advisory
https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://projectdiscovery.io/blog/crushftp-authentication-bypass
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/
Source: af854a3a-2127-422b-91ae-364da2661108
Press/Media Coverage
https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Third Party Advisory
https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability
Source: af854a3a-2127-422b-91ae-364da2661108
Mitigation Third Party Advisory
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-31161
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
US Government Resource

10 reference(s) from NVD

Quick Stats

CVSS v3 Score
9.8 / 10.0
EPSS (Exploit Probability)
86.6%
99th percentile
Exploitation Status
Actively Exploited
Remediation due: 2025-04-28

Weaknesses (CWE)

Affected Vendors

crushftp