Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Goauthentik | Authentik | < 2023.8.4 |
Related Weaknesses (CWE)
References
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b8Patch
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17aPatch
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2Release Notes
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4Release Notes
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62wVendor Advisory
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b8Patch
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17aPatch
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2Release Notes
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4Release Notes
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62wVendor Advisory
FAQ
What is CVE-2023-46249?
CVE-2023-46249 is a vulnerability with a CVSS score of 9.6 (CRITICAL). 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...
How severe is CVE-2023-46249?
CVE-2023-46249 has been rated CRITICAL with a CVSS base score of 9.6/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2023-46249?
Check the references section above for vendor advisories and patch information. Affected products include: Goauthentik Authentik.