llamaCVEVulnerability Intelligence
/
authentik

CVE-2023-26481

Insufficient user check in FlowTokens by Email stage

Specific setups onlyParche disponible
Descargar PNG JSON
CVSS 3.1
9.1
Crítica
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H Fuente: CNA
6.5NVD · CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
ExplotaciónSin evidenciaSSVC: none · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche3 versiones2022.12.2 · 2023.1.3 · 2023.2.3
Exposición1.356 dDesde la divulgación, 3 mar 2023, 7:30 p. m.
Detección1.340 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Sin explotación conocida, no automatizable e impacto técnico total. 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
4 mar 23
25 feb 25
3 nov 26
18 nov 26
19 nov 26
4 mar 23
6 feb 24
10 ene 25
15 dic 25
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2023-26481 divulgada · CVSS 9.1 (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. Due to an insufficient access check, a recovery flow link that is created by an admin (or sent via email by an admin) can be used to set the password for any arbitrary user. This attack is only possible if a recovery flow exists, which has both an Identification and an Email stage bound to it. If the flow has policies on the identification stage to skip it when the flow is restored (by checking `request.context['is_restored']`), the flow is not affected by this. With this flow in place, an administrator must create a recovery Link or send a recovery URL to the attacker, who can, due to the improper validation of the token create, set the password for any account. Regardless, for custom recovery flows it is recommended to add a policy that checks if the flow is restored, and skips the identification stage. This issue has been fixed in versions 2023.2.3, 2023.1.3 and 2022.12.2.

Affects authentik recovery flows that have both an Identification stage and an Email stage bound to them. Fixed in 2023.2.3, 2023.1.3, and 2022.12.2.

¿Qué significa?The FlowTokens by Email stage does not sufficiently check the user, so a recovery flow can be used to set the password for an arbitrary user account.
¿Quién está afectado?Only setups with a recovery flow that has both an Identification stage and an Email stage bound to it. Check the stage bindings of the recovery flow in the authentik admin interface. The attack also requires an administrator to create a recovery link or send a recovery URL to the attacker.
¿Qué hacer?Upgrade to a fixed release on the same branch: 2023.2.3, 2023.1.3, or 2022.12.2.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
A recovery flow exists with both an Identification stage and an Email stage bound to it.“This attack is only possible if a recovery flow exists, which has both an Identification and an Email stage bound to it.”
02
An administrator creates a recovery link or sends a recovery URL to the attacker.“an administrator must create a recovery Link or send a recovery URL to the attacker”
¿Quién debe revisar?Teams running authentik (goauthentik) with a recovery flow that has both an Identification stage and an Email stage bound to it.
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:H
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
authentik< 2022.12.2
authentik< 2023.1.3
authentik< 2023.2.3
2022.12.2
2023.1.3
2023.2.3
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
authentik
Corregida 2022.12.2, 2023.1.3, 2023.2.3 — —
Versiones corregidas2022.12.22023.1.32023.2.3
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-3xf5-pqvf-rqq3
Fabricantehttps://goauthentik.io/docs/releases/2023.2#fixed-in-202323

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