CVE-2023-46249
Description
authentik is an open-source Identity Provider. Prior to versions 2023.8.4 and 2023.10.2, when the default admin user has been deleted, it is potentially possible for an attacker to set the password of the default admin user without any authentication. authentik uses a blueprint to create the default admin user, which can also optionally set the default admin users' password from an environment variable. When the user is deleted, the `initial-setup` flow used to configure authentik after the first installation becomes available again. authentik 2023.8.4 and 2023.10.2 fix this issue. As a workaround, ensure the default admin user (Username `akadmin`) exists and has a password set. It is recommended to use a very strong password for this user, and store it in a secure location like a password manager. It is also possible to deactivate the user to prevent any logins as akadmin.
Weakness
- CWE-287: Improper Authentication
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2024-09-05 |
Timeline
- 2023-10-31Published by the CNA15:20 UTC
- 2024-09-05CISA SSVC decision recorded310 days after publication
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| goauthentik authentik | from 2023.10.0 before 2023.10.2fixed in 2023.10.2before 2023.8.4fixed in 2023.8.4 | 2023.10.22023.8.4 |
References
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-46249'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-46249'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-46249'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-46249'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).