Skip to content

CVE-2023-46249 authentik potential installation takeover when default admin user is deleted

CriticalCVSS 9.8 EPSS 0.80%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
goauthentik authentik < 2023.8.4; = < 2023.8.4; = >= 2023.10.0, < 2023.10.2; >= 2023.10.0, < 2023.10.2 2023.8.4, 2023.10.2 Fixed

Affected products

ProductAffected versionsFixed in
goauthentik authentik = < 2023.8.4 No fix listed
goauthentik authentik = >= 2023.10.0, < 2023.10.2 No fix listed
goauthentik authentik >= 2023.10.0, < 2023.10.2 2023.10.2
goauthentik authentik < 2023.8.4 2023.8.4

References