CVE-2022-46145

authentik is an open-source identity provider. Versions prior to 2022.11.2 and 2022.10.2 are vulnerable to unauthorized user creation and potential account takeover. With the default flows, unauthenticated users can create new accounts in authentik. If a flow exists that allows for email-verified password recovery, this can be used to overwrite the email address of admin accounts and take over their accounts. authentik 2022.11.2 and 2022.10.2 fix this issue. As a workaround, a policy can be created and bound to the `default-user-settings-flow flow` with the contents `return request.user.is_authenticated`.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:30

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 9.8
v2 : unknown
v3 : 8.1
Summary
  • (es) authentik es un proveedor de identidad de código abierto. Las versiones anteriores a 2022.11.2 y 2022.10.2 son vulnerables a la creación de usuarios no autorizados y a una posible apropiación de cuentas. Con los flujos predeterminados, los usuarios no autenticados pueden crear nuevas cuentas en authentik. Si existe un flujo que permite la recuperación de contraseñas verificadas por correo electrónico, se puede utilizar para sobrescribir la dirección de correo electrónico de las cuentas de administrador y hacerse cargo de sus cuentas. authentik 2022.11.2 y 2022.10.2 solucionan este problema. Como workaround, se puede crear una política y vincularla al "default-user-settings-flow flow" con el contenido "return request.user.is_authenticated".
References () https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf - Mitigation, Third Party Advisory () https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf - Mitigation, Third Party Advisory
References () https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102 - Release Notes, Vendor Advisory () https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102 - Release Notes, Vendor Advisory
References () https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112 - Release Notes, Vendor Advisory () https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112 - Release Notes, Vendor Advisory

Information

Published : 2022-12-02 18:15

Updated : 2024-11-21 07:30


NVD link : CVE-2022-46145

Mitre link : CVE-2022-46145

CVE.ORG link : CVE-2022-46145


JSON object : View

Products Affected

goauthentik

  • authentik
CWE
CWE-287

Improper Authentication

CWE-306

Missing Authentication for Critical Function