CVE-2024-23647

Authentik is an open-source Identity Provider. There is a bug in our implementation of PKCE that allows an attacker to circumvent the protection that PKCE offers. PKCE adds the code_challenge parameter to the authorization request and adds the code_verifier parameter to the token request. Prior to 2023.8.7 and 2023.10.7, a downgrade scenario is possible: if the attacker removes the code_challenge parameter from the authorization request, authentik will not do the PKCE check. Because of this bug, an attacker can circumvent the protection PKCE offers, such as CSRF attacks and code injection attacks. Versions 2023.8.7 and 2023.10.7 fix the issue.
Configurations

Configuration 1 (hide)

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

History

06 Feb 2024, 18:22

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.5
v2 : unknown
v3 : 8.8
First Time Goauthentik authentik
Goauthentik
References () https://github.com/goauthentik/authentik/commit/38e04ae12720e5d81b4f7ac77997eb8d1275d31a - () https://github.com/goauthentik/authentik/commit/38e04ae12720e5d81b4f7ac77997eb8d1275d31a - Patch
References () https://github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqj - () https://github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqj - Third Party Advisory
CPE cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
Summary
  • (es) Authentik es un proveedor de identidades de código abierto. Hay un error en nuestra implementación de PKCE que permite a un atacante eludir la protección que ofrece PKCE. PKCE agrega el parámetro code_challenge a la solicitud de autorización y agrega el parámetro code_verifier a la solicitud de token. Antes de 2023.8.7 y 2023.10.7, es posible un escenario de degradación: si el atacante elimina el parámetro code_challenge de la solicitud de autorización, authentik no realizará la verificación PKCE. Debido a este error, un atacante puede eludir la protección que ofrece PKCE, como los ataques CSRF y los ataques de inyección de código. Las versiones 2023.8.7 y 2023.10.7 solucionan el problema.

30 Jan 2024, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-30 17:15

Updated : 2024-02-06 18:22


NVD link : CVE-2024-23647

Mitre link : CVE-2024-23647

CVE.ORG link : CVE-2024-23647


JSON object : View

Products Affected

goauthentik

  • authentik
CWE
CWE-287

Improper Authentication