CVE-2023-26481
Last modified
CVE-2023-26481 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. authentik is an open-source Identity Provider. Due to an insufficient access check, a recovery flow link that is created by an admin (or sent via email by an admin) can be used to set the password for any arbitrary user. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
authentik is an open-source Identity Provider. Due to an insufficient access check, a recovery flow link that is created by an admin (or sent via email by an admin) can be used to set the password for any arbitrary user. This attack is only possible if a recovery flow exists, which has both an Identification and an Email stage bound to it. If the flow has policies on the identification stage to skip it when the flow is restored (by checking `request.context['is_restored']`), the flow is not affected by this. With this flow in place, an administrator must create a recovery Link or send a recovery URL to the attacker, who can, due to the improper validation of the token create, set the password for any account. Regardless, for custom recovery flows it is recommended to add a policy that checks if the flow is restored, and skips the identification stage. This issue has been fixed in versions 2023.2.3, 2023.1.3 and 2022.12.2.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Goauthentik | Authentik | < 2022.12.3 |
| Goauthentik | Authentik | > 2023.1.0, <= 2023.1.3 |
| Goauthentik | Authentik | > 2023.2.0, <= 2023.2.3 |
References
- https://github.com/goauthentik/authentik/security/advisories/GHSA-3xf5-pqvf-rqq3Third Party Advisory
- https://github.com/goauthentik/authentik/security/advisories/GHSA-3xf5-pqvf-rqq3Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-26481?
How severe is CVE-2023-26481?
How do I fix CVE-2023-26481?
Are you affected by CVE-2023-26481?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
