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

Configuration 1 (hide)

OR cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*

History

21 Apr 2025, 21:03

Type Values Removed Values Added
References () https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability - () https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability - Exploit, Third Party Advisory
References () https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability - () https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability - Mitigation, Third Party Advisory

21 Apr 2025, 15:16

Type Values Removed Values Added
References
  • () https://www.vicarius.io/vsociety/posts/cve-2025-31161-detect-crushftp-vulnerability -
  • () https://www.vicarius.io/vsociety/posts/cve-2025-31161-mitigate-crushftp-vulnerability -

08 Apr 2025, 15:30

Type Values Removed Values Added
CPE cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
References () https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo - () https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo - Vendor Advisory
References () https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/ - () https://outpost24.com/blog/crushftp-auth-bypass-vulnerability/ - Third Party Advisory
References () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis - () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis - Exploit, Third Party Advisory
References () https://projectdiscovery.io/blog/crushftp-authentication-bypass - () https://projectdiscovery.io/blog/crushftp-authentication-bypass - Exploit, Third Party Advisory
References () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation - () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation - Press/Media Coverage
References () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation - () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation - Exploit, Third Party Advisory
References () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ - () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ - Press/Media Coverage
First Time Crushftp
Crushftp crushftp
CWE NVD-CWE-Other

05 Apr 2025, 19:15

Type Values Removed Values Added
References
  • () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis -
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -
  • () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ -
References
  • () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis -
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -
  • () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ -
References
  • () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis -
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -
  • () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ -
References
  • () https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/ -

05 Apr 2025, 16:15

Type Values Removed Values Added
References
  • () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis -
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -
References
  • () https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis -
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -

05 Apr 2025, 05:15

Type Values Removed Values Added
References
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
  • () https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation -

05 Apr 2025, 01:15

Type Values Removed Values Added
Summary
  • (es) CrushFTP 10 anterior a la 10.8.4 y 11 anterior a la 11.3.1 permite omitir la autenticación y tomar el control de la cuenta crushadmin (a menos que se utilice una instancia de proxy DMZ), como se explotó en marzo y abril de 2025, también conocido como "Acceso al puerto HTTP(S) sin autenticar". Existe una condición de ejecución en el método de autorización AWS4-HMAC (compatible con S3) del componente HTTP del servidor FTP. El servidor verifica primero la existencia del usuario mediante una llamada a login_user_pass() sin necesidad de contraseña. Esto autenticará la sesión mediante el proceso de verificación HMAC hasta que el servidor vuelva a verificar la verificación del usuario. La vulnerabilidad se puede estabilizar aún más, eliminando la necesidad de activar una condición de ejecución, mediante el envío de un encabezado AWS4-HMAC alterado. Al proporcionar únicamente el nombre de usuario y una barra diagonal (/), el servidor encontrará un nombre de usuario, lo que activará la autenticación anypass. Sin embargo, no encontrará la entrada SignedHeaders esperada, lo que generará un error de indexación fuera de los límites que impedirá que el código complete la limpieza de la sesión. En conjunto, estos problemas dificultan la autenticación con cualquier usuario conocido o indeterminado (p. ej., crushadmin) y pueden comprometer por completo el sistema al obtener una cuenta administrativa.
References
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -
References
  • () https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation -

03 Apr 2025, 20:15

Type Values Removed Values Added
New CVE
References
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://attackerkb.com/topics/k0EgiL9Psz/cve-2025-2825/rapid7-analysis', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.infosecurity-magazine.com/news/crushftp-flaw-exploited-disclosure/', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
References
  • {'url': 'https://www.darkreading.com/vulnerabilities-threats/disclosure-drama-clouds-crushftp-vulnerability-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}
  • {'url': 'https://www.huntress.com/blog/crushftp-cve-2025-31161-auth-bypass-and-post-exploitation', 'source': 'af854a3a-2127-422b-91ae-364da2661108'}

Information

Published : 2025-04-03 20:15

Updated : 2025-04-21 21:03


NVD link : CVE-2025-31161

Mitre link : CVE-2025-31161

CVE.ORG link : CVE-2025-31161


JSON object : View

Products Affected

crushftp

  • crushftp
CWE
CWE-305

Authentication Bypass by Primary Weakness

NVD-CWE-Other