Amenazas en vivo

Todas las CVE / 2fauth

CVE-2024-525982fauth

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
0.9%
probabilidad de explotación en 30 días · percentil 56
Requiere autenticación
No
Publicada
20 nov 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-79, CWE-80, CWE-918
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

2FAuth is a web app to manage Two-Factor Authentication (2FA) accounts and generate their security codes. Two interconnected vulnerabilities exist in version 5.4.1 a SSRF and URI validation bypass issue. The endpoint at POST /api/v1/twofaccounts/preview allows setting a remote URI to retrieve the image of a 2fa site. By abusing this functionality, it is possible to force the application to make a GET request to an arbitrary URL, whose content will be stored in an image file in the server if it looks like an image. Additionally, the library does some basic validation on the URI, attempting to filter our URIs which do not have an image extension. However, this can be easily bypassed by appending the string `#.svg` to the URI. The combination of these two issues allows an attacker to retrieve URIs accessible from the application, as long as their content type is text based. If not, the request is still sent, but the response is not reflected to the attacker. Version 5.4.1 fixes the issues.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para 2fauth.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Productos afectados (CPE)

FabricanteProductoVersiones
2fauth2fauth< 5.4.1

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.