CVE-2024-23647: Authentik - Authentication Bypass
- Cve: CVE-2024-23647
- Name: Authentik - Authentication Bypass
- Description: 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.
- Impact: Attackers can bypass PKCE protection, enabling CSRF and code injection attacks, potentially compromising user sessions and security.
- Remediation: Update to version 2023.8.7 or later versions.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirement type: user_interaction
- Requirements: Attacker needs to manipulate authorization request parameters
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00549
- Epss percentile: 0.4658
- Assignee: [email protected]
- Published at: 2024-01-30T17:15:10Z
- Age in days: 1029
- Modified at: 2026-06-17T07:13:18Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-23647
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-287 | Improper Authentication |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/goauthentik/authentik/commit/38e04ae12720e5d81b4f7ac77997eb8d1275d31a | nvd | Patch |
| https://github.com/goauthentik/authentik/security/advisories/GHSA-mrx3-gxjx-hjqj | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| goauthentik:authentik | >= 2023.10.0, < 2023.10.7; < 2023.8.7 | no | nvd | /v1/products/goauthentik/authentik |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| goauthentik/authentik | commit, package, security_advisory | yes | /v1/repositories/goauthentik/authentik |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts