CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Goauthentik

CVE-2023-46249
Goauthentik Authentik vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Authentik. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Goauthentik Authentik runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Goauthentik products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.