Vulnerability Details : CVE-2023-22492
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.
Products affected by CVE-2023-22492
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
- cpe:2.3:a:zitadel:zitadel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-22492
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 21 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-22492
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
2.2
|
3.6
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N |
1.6
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2023-22492
-
According to WASC, "Insufficient Session Expiration is when a web site permits an attacker to reuse old session credentials or session IDs for authorization."Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-22492
-
https://github.com/zitadel/zitadel/commit/301e22c4956ead6014a8179463c37263f7301a83
fix: deactivate refresh tokens of deactivated or locked users · zitadel/zitadel@301e22c · GitHubPatch;Third Party Advisory
-
https://github.com/zitadel/zitadel/security/advisories/GHSA-6rrr-78xp-5jp8
RefreshToken invalidation vulnerability · Advisory · zitadel/zitadel · GitHubPatch;Third Party Advisory
-
https://github.com/zitadel/zitadel/commit/fc892c52a10cd4ffdac395747494f3a93a7494c2
fix: deactivate refresh tokens of deactivated or locked users · zitadel/zitadel@fc892c5 · GitHubPatch;Third Party Advisory
Jump to