llamaCVEVulnerability Intelligence
/
authentik

CVE-2023-36456

Authentik lacks Proxy IP headers validation

UnclearParche disponibleinterpretation conflict
Descargar PNG JSON
CVSS 3.1
8.3
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L Fuente: CNA
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versiones2023.4.3 · 2023.5.5
Exposición1.231 dDesde la divulgación, 6 jul 2023, 1:24 p. m.
Detección1.229 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir
Remediar en la ventana regular de mantenimiento
Sin explotación conocida, automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada
Fuente: OSV +1
6 jul 23
14 nov 24
17 nov 26
18 nov 26
19 nov 26
6 jul 23
9 may 24
13 mar 25
15 ene 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-36456 divulgada · CVSS 8.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación ninguna
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

authentik is an open-source Identity Provider. Prior to versions 2023.4.3 and 2023.5.5, authentik does not verify the source of the X-Forwarded-For and X-Real-IP headers, both in the Python code and the go code. Only authentik setups that are directly accessible by users without a reverse proxy are susceptible to this. Possible spoofing of IP addresses in logs, downstream applications proxied by (built in) outpost, IP bypassing in custom flows if used. This poses a possible security risk when someone has flows or policies that check the user's IP address, e.g. when they want to ignore the user's 2 factor authentication when the user is connected to the company network. A second security risk is that the IP addresses in the logfiles and user sessions are not reliable anymore. Anybody can spoof this address and one cannot verify that the user has logged in from the IP address that is in their account's log. A third risk is that this header is passed on to the proxied application behind an outpost. The application may do any kind of verification, logging, blocking or rate limiting based on the IP address, and this IP address can be overridden by anybody that want to. Versions 2023.4.3 and 2023.5.5 contain a patch for this issue.

Only authentik setups directly accessible by users without a reverse proxy are affected. Fixed in 2023.4.3 and 2023.5.5.

¿Qué significa?Client-supplied proxy IP headers are not validated, so the IP address authentik records can be spoofed. This affects logs and user sessions, can bypass IP-based checks in custom flows, and can pass a spoofed IP to applications proxied by the built-in outpost.
¿Quién está afectado?Affected are authentik versions before 2023.4.3 and versions from 2023.5.0 before 2023.5.5, and only setups that users reach directly without a reverse proxy. To check, look at the authentik version you run and whether users connect to it directly or through a reverse proxy.
¿Qué hacer?Upgrade to 2023.4.3 if you run the 2023.4 line, or to 2023.5.5 if you run the 2023.5 line.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
Only authentik setups that are directly accessible by users without a reverse proxy are affected.“Only authentik setups that are directly accessible by users without a reverse proxy are susceptible to this.”
¿Quién debe revisar?Operators of goauthentik authentik setups that are directly accessible by users without a reverse proxy, before 2023.4.3 or 2023.5.5.
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:L
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
authentik< 2023.4.3
authentik≥ 2023.5.0 < 2023.5.5
2023.4.3
2023.5.0
2023.5.5
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
authentik
Corregida 2023.4.3, 2023.5.5 — —
Versiones corregidas2023.4.32023.5.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/goauthentik/authentik/security/advisories/GHSA-cmxp-jcw7-jjjv
Fabricantehttps://goauthentik.io/docs/releases/2023.4#fixed-in-202343
Fabricantehttps://goauthentik.io/docs/releases/2023.5#fixed-in-202355
Otrahttps://github.com/goauthentik/authentik/commit/15026748d19d490eb2baf9a9566ead4f805f7dff
Otrahttps://github.com/goauthentik/authentik/commit/c07a48a3eccbd7b23026f72136d3392bbc6f795a

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.