← volver
CVE-2025-31161

CVE-2025-31161

CVSS 9.8 CRITICALEPSS 100.0%● KEVCWE-305
En resumen

Las versiones de CrushFTP anteriores a 10.8.4 y 11.3.1 permiten que atacantes inicien sesión como cualquier usuario, incluida la cuenta de administrador, sin conocer la contraseña. Esto ocurre por un defecto en cómo el servidor verifica las credenciales, permitiendo el control total del servidor FTP.

Detalle técnico

Una condición de carrera en el controlador de autorización AWS4-HMAC del componente HTTP de CrushFTP elude la autenticación explotando el orden de verificación del usuario y validación HMAC. Un atacante puede estabilizar la explotación enviando un encabezado AWS4-HMAC malformado con un nombre de usuario seguido de barra, provocando un error de índice fuera de límites que impide la limpieza de sesión mientras el usuario permanece autenticado. Esto permite acceso no autenticado a cuentas privilegiadas sin credenciales.

Resumen generado y traducido por IA a partir de la descripción oficial.
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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Productos afectados
CrushFTP · CrushFTP
⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.

¿Quieres saber si tu infraestructura está expuesta a esto?

Hablar con TrueHacking →