Paper/Archive/CVE-2022-46145

CVE-2022-46145

goauthentik authentik — authentik vulnerable to unauthorized user creation and potential account takeover

Description · from the CVE record

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

ProductAffectedFixed inSource
authentik< 2022.10.2–CNA
authentik>= 2022.11.0, < 2022.11.2–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub_M (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjfrefgoauthentik.io/docs/releases/2022.10#fixed-in-2022102refgoauthentik.io/docs/releases/2022.11#fixed-in-2022112