Lucene search

K
cveGitHub_MCVE-2023-26481
HistoryMar 04, 2023 - 1:15 a.m.

CVE-2023-26481

2023-03-0401:15:10
CWE-345
GitHub_M
web.nvd.nist.gov
27
authentik
identity provider
unauthorized access
recovery flow
access control
cve-2023-26481

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

AI Score

6.5

Confidence

High

EPSS

0.001

Percentile

33.6%

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.

Affected configurations

Nvd
Vulners
Node
goauthentikauthentikRange<2022.12.3
OR
goauthentikauthentikRange2023.1.02023.1.3
OR
goauthentikauthentikRange2023.2.02023.2.3
VendorProductVersionCPE
goauthentikauthentik*cpe:2.3:a:goauthentik:authentik:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "goauthentik",
    "product": "authentik",
    "versions": [
      {
        "version": "< 2023.2.3",
        "status": "affected"
      },
      {
        "version": "< 2023.1.3",
        "status": "affected"
      },
      {
        "version": "< 2022.12.2",
        "status": "affected"
      }
    ]
  }
]

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

AI Score

6.5

Confidence

High

EPSS

0.001

Percentile

33.6%

Related for CVE-2023-26481