Vulnerability · Published Dec 2, 2022 · Assigned by GitHub_M
CVE-2022-46145authentik vulnerable to unauthorized user creation and potential account takeover
High 8.1
In plain English
A high-severity improper authentication in authentik from goauthentik. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 70% of all known vulnerabilities).
Official description
authentik is an open-source identity provider. Versions prior to 2022.11.2 and 2022.10.2 are vulnerable to unauthorized user creation and potential account takeover. With the default flows, unauthenticated users can create new accounts in authentik. If a flow exists that allows for email-verified password recovery, this can be used to overwrite the email address of admin accounts and take over their accounts. authentik 2022.11.2 and 2022.10.2 fix this issue. As a workaround, a policy can be created and bound to the `default-user-settings-flow flow` with the contents `return request.user.is_authenticated`.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| goauthentik | authentik | < 2022.10.2>= 2022.11.0, < 2022.11.2 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf x_refsource_CONFIRM
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102 x_refsource_MISC
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112 x_refsource_MISC