5.9
MEDIUM
CVE-2023-22492
ZITADEL OAuth 2.0 Refresh Token Authentication Bypass
Description

ZITADEL is a combination of Auth0 and Keycloak. RefreshTokens is an OAuth 2.0 feature that allows applications to retrieve new access tokens and refresh the user's session without the need for interacting with a UI. RefreshTokens were not invalidated when a user was locked or deactivated. The deactivated or locked user was able to obtain a valid access token only through a refresh token grant. When the locked or deactivated user’s session was already terminated (“logged out”) then it was not possible to create a new session. Renewal of access token through a refresh token grant is limited to the configured amount of time (RefreshTokenExpiration). As a workaround, ensure the RefreshTokenExpiration in the OIDC settings of your instance is set according to your security requirements. This issue has been patched in versions 2.17.3 and 2.16.4.

INFO

Published Date :

Jan. 11, 2023, 8:15 p.m.

Last Modified :

Jan. 24, 2023, 6:21 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Public PoC/Exploit Available at Github

CVE-2023-22492 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2023-22492 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Zitadel zitadel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2023-22492.

URL Resource
https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 Patch Third Party Advisory
https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 Patch Third Party Advisory
https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 16, 2023, 10:09 p.m. This repo has been linked 9 different CVEs too.

Proof of concept for EPSS API interaction.

Python

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : Jan. 13, 2023, 1:04 a.m. This repo has been linked 9 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-22492 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-22492 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 24, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 No Types Assigned https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83 Patch, Third Party Advisory
    Changed Reference Type https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 No Types Assigned https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2 Patch, Third Party Advisory
    Changed Reference Type https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 No Types Assigned https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8 Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.16.4 *cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:* versions from (including) 2.17.0 up to (excluding) 2.17.3
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-22492 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2023-22492 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.11 }} 0.00%

score

0.44982

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability