CVE-2022-46145
What it is
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`.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.3% 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: 1.3% in the next 30 days (EPSS).
- Severity: 8.1 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.3% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- Goauthentik Authentik < 2022.10.2
- Goauthentik Authentik < 2022.11.2
Attack profile CVSS 3.1 · 8.1
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/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-2022-46145.md and follow it. Check whether this project is affected by CVE-2022-46145. 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/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112
- https://github.com/goauthentik/authentik/security/advisories/GHSA-mjfw-54m5-fvjf
- https://goauthentik.io/docs/releases/2022.10#fixed-in-2022102
- https://goauthentik.io/docs/releases/2022.11#fixed-in-2022112