9.8 CVE-2025-31161
CISA Kev Catalog Exploit
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.
https://nvd.nist.gov/vuln/detail/CVE-2025-31161
Categories
CWE-305 : Authentication Bypass by Primary Weakness
The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error. The provided password is only compared against the first character of the real password. The password is not properly checked, which allows remote attackers to bypass access controls by sending a 1-byte password that matches the first character of the real password. Chain: Forum software does not properly initialize an array, which inadvertently sets the password to a single character, allowing remote attackers to easily guess the password and gain administrative privileges.
CWE-NVD-Other
References
af854a3a-2127-422b-91ae-364da2661108 Exploit
https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis Exploit Third Party Advisory |
https://projectdiscovery.io/blog/crushftp-authentication-bypass Exploit Third Party Advisory |
https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-c... Press/Media Coverage |
https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-ex... Exploit Third Party Advisory |
https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ Press/Media Coverage |
https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnera... Exploit Third Party Advisory |
https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulne... Mitigation Third Party Advisory |
cve@mitre.org Exploit
https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-Vulnerab... Vendor Advisory |
https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/ Third Party Advisory |
CPE
cpe | start | end |
---|---|---|
Configuration 1 | ||
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:* | >= 10.0.0 | < 10.8.4 |
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:* | >= 11.0.0 | < 11.3.1 |
REMEDIATION
EXPLOITS
Exploit-db.com
id | description | date | |
---|---|---|---|
No known exploits |
POC Github
Url |
---|
https://github.com/Immersive-Labs-Sec/CVE-2025-31161 |
Other Nist (github, ...)
CAPEC
Common Attack Pattern Enumerations and Classifications
id | description | severity |
---|---|---|
No entry |
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.