// For flags

CVE-2023-26481

Insufficient user check in FlowTokens by Email stage

Severity Score

6.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-02-23 CVE Reserved
  • 2023-03-04 CVE Published
  • 2024-08-02 CVE Updated
  • 2024-09-24 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-345: Insufficient Verification of Data Authenticity
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Goauthentik
Search vendor "Goauthentik"
Authentik
Search vendor "Goauthentik" for product "Authentik"
< 2022.12.3
Search vendor "Goauthentik" for product "Authentik" and version " < 2022.12.3"
-
Affected
Goauthentik
Search vendor "Goauthentik"
Authentik
Search vendor "Goauthentik" for product "Authentik"
> 2023.1.0 <= 2023.1.3
Search vendor "Goauthentik" for product "Authentik" and version " > 2023.1.0 <= 2023.1.3"
-
Affected
Goauthentik
Search vendor "Goauthentik"
Authentik
Search vendor "Goauthentik" for product "Authentik"
> 2023.2.0 <= 2023.2.3
Search vendor "Goauthentik" for product "Authentik" and version " > 2023.2.0 <= 2023.2.3"
-
Affected