CVE-2025-31161 in crushftp
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: crushftp
Scores
- CVSS: 9.8 (critical)
- EPSS: 99.98% chance of exploitation in the next 30 days
- CISA KEV: Known exploited, listed 2025-04-07, used in ransomware
- Published: 2025-04-03
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade CrushFTP to 10.8.5 or 11.3.4_23 or later (CVE-2025-31161, CVE-2025-54309)
Patch or upgrade. CrushFTP has two exploited admin takeovers over HTTPS: an authentication bypass of the crushadmin account (CVE-2025-31161, fixed in 10.8.4 / 11.3.1) and mishandled AS2 validation (CVE-2025-54309, fixed in 10.8.5 / 11.3.4_23). The newest build fixes both; CrushFTP's pages list what to check afterwards.
Applies to: CrushFTP 10 before 10.8.5 and 11 before 11.3.4_23 without the DMZ proxy
- Check the CrushFTP version on the admin dashboard.
- Upgrade to 10.8.5 or 11.3.4_23 or later (Preferences > Updates, or download from crushftp.com).
- Put CrushFTP behind the DMZ proxy feature or a reverse proxy where possible.
- Follow the CrushFTP compromise pages: check for unknown admin users and changed user.XML files, and restore from a clean backup if found.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.