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

Basic Information

CVE State
PUBLISHED
Reserved Date
March 27, 2025
Published Date
April 03, 2025
Last Updated
April 21, 2025
Vendor
CrushFTP
Product
CrushFTP
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.

CVSS Scores

CVSS v3.1

9.8 - CRITICAL

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Score

Score
21.21% (Percentile: 95.29%) as of 2025-04-29

SSVC Information

Exploitation
active
Automatable
Yes
Technical Impact
total

Exploit Status

Exploited in the Wild
Yes (added 2025-04-07 00:00:00 UTC) Source
Proof of Concept Available
Yes (added 2025-04-24 22:09:24 UTC) Source
Used in Malware
Yes (added 2025-04-07 00:00:00 UTC) Source

Known Exploited Vulnerability Information

Source Added Date
CISA 2025-04-07 00:00:00 UTC

Scanner Integrations

Potential Proof of Concepts

Warning: These PoCs have not been tested and could contain malware. Use at your own risk.

SUPRAAA-1337/CVE-2025-31161_exploit

Type: github • Created: 2025-04-24 22:09:24 UTC • Stars: 0

CVE-2025-31161 python exploit

SUPRAAA-1337/Nuclei_CVE-2025-31161_CVE-2025-2825

Type: github • Created: 2025-04-24 10:25:26 UTC • Stars: 0

Official Nuclei template for CVE-2025-31161 (formerly CVE-2025-2825)

TX-One/CVE-2025-31161

Type: github • Created: 2025-04-21 23:57:07 UTC • Stars: 1

CrushFTP CVE-2025-31161 Exploit Tool 🔓

llussiess/CVE-2025-31161

Type: github • Created: 2025-04-09 14:38:42 UTC • Stars: 1

Immersive-Labs-Sec/CVE-2025-31161

Type: github • Created: 2025-04-08 15:37:28 UTC • Stars: 5

Proof of Concept for CVE-2025-31161 / CVE-2025-2825