CVE-2023-46249
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in, but needs a user to act. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.8% in the next 30 days (EPSS).
- Severity: 9.6 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.8% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- Goauthentik Authentik < 2023.8.4
- Goauthentik Authentik < 2023.10.2
Attack profile CVSS 3.1 · 9.6
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2023-46249.md and follow it. Check whether this project is affected by CVE-2023-46249. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w
References
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w
- https://github.com/goauthentik/authentik/commit/261879022d25016d58867cf1f24e90b81ad618d0
- https://github.com/goauthentik/authentik/commit/ea75741ec22ecef34bc7073f1163e17a8a2bf9fc
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.10.2
- https://github.com/goauthentik/authentik/releases/tag/version%2F2023.8.4
- https://github.com/goauthentik/authentik/security/advisories/GHSA-rjvp-29xq-f62w