Patchfirst
CVE-2025-31161 KEVRansomwarePublic exploit Critical · 9.8 EPSS >99.9%

CrushFTP Authentication Bypass Vulnerability

CrushFTP · CrushFTP

Summary

CrushFTP versions 10 before 10.8.4 and 11 before 11.3.1 contain an authentication bypass in the AWS4-HMAC (S3-compatible) authorization method of the server's HTTP component. An unauthenticated remote attacker with network access can exploit it, without credentials or user interaction, by winning a race condition or sending a malformed AWS4-HMAC header containing only a username and a slash, to authenticate as any known or guessable user, including the crushadmin account, unless a DMZ proxy instance is in use.

Official description · NVD

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.

Breakdown
79.9 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
5/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 3 days before it was disclosed. Public exploit code (PoC-in-GitHub) appeared 5 days after disclosure.

  1. First seen exploitedVulnCheck KEV evidence3 days before
  2. Disclosedday 0
  3. Added to CISA KEVknown ransomware use; EU database agrees+4 days
  4. Public exploit codePoC-in-GitHub+5 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

techniques

3 , grouped by in kill-chain order 3

Initial AccessTA0001

Valid Accounts T1078 also Persistence, Privilege Escalation, Stealth
MITRE CTID mapping of the KEV entry · how it is exploited

This vulnerability in CrushFTP has been exploited to give attackers control how the software handles authentication, allowing access to the administrative account. From there, attackers have the ability to read and upload files, execute arbitrary code, create backdoors in the form of new administrative accounts, and conduct a full system takeover.

ExecutionTA0002

MITRE CTID mapping of the KEV entry · primary impact

PersistenceTA0003

MITRE CTID mapping of the KEV entry · primary impact

Detection

1 rule for this CVE · 154 general rules for its techniques

Rules for this CVE

1 that reference CVE-2025-31161 directly.

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

10 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close