CVE-2023-46249

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.
Configurations

Configuration 1 (hide)

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

History

08 Nov 2023, 17:50

Type Values Removed Values Added
References (MISC) https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4 - (MISC) https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4 - Release Notes
References (MISC) https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w - (MISC) https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w - Vendor Advisory
References (MISC) https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc - (MISC) https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc - Patch
References (MISC) https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2 - (MISC) https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2 - Release Notes
References (MISC) https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0 - (MISC) https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0 - Patch
CPE cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
CWE CWE-287 CWE-306
First Time Goauthentik
Goauthentik authentik

31 Oct 2023, 17:07

Type Values Removed Values Added
New CVE

Information

Published : 2023-10-31 16:15

Updated : 2023-12-10 15:14


NVD link : CVE-2023-46249

Mitre link : CVE-2023-46249

CVE.ORG link : CVE-2023-46249


JSON object : View

Products Affected

goauthentik

  • authentik
CWE
CWE-306

Missing Authentication for Critical Function

CWE-287

Improper Authentication