Lucene search

K
cvelistGitHub_MCVELIST:CVE-2023-48228
HistoryNov 21, 2023 - 8:48 p.m.

CVE-2023-48228 OAuth2: PKCE can be fully circumvented

2023-11-2120:48:32
CWE-287
GitHub_M
www.cve.org
3
oauth2
pkce
circumvention
identity provider
vulnerability
fix

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

44.8%

authentik is an open-source identity provider. When initialising a oauth2 flow with a code_challenge and code_method (thus requesting PKCE), the single sign-on provider (authentik) must check if there is a matching and existing code_verifier during the token step. Prior to versions 2023.10.4 and 2023.8.5, authentik checks if the contents of code_verifier is matching only when it is provided. When it is left out completely, authentik simply accepts the token request with out it; even when the flow was started with a code_challenge. authentik 2023.8.5 and 2023.10.4 fix this issue.

CNA Affected

[
  {
    "vendor": "goauthentik",
    "product": "authentik",
    "versions": [
      {
        "version": "< 2023.10.4",
        "status": "affected"
      },
      {
        "version": "< 2023.8.5",
        "status": "affected"
      }
    ]
  }
]

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

AI Score

9.6

Confidence

High

EPSS

0.001

Percentile

44.8%

Related for CVELIST:CVE-2023-48228