CVE-2022-3916
Keycloak: session takeover with oidc offline refreshtokens
- State
- Published
- Severity
- 6.8 Medium
- Published
- Sep 20, 2023
- Updated
- Aug 3, 2024
- Reserved
- Nov 9, 2022
Description
A flaw was found in the offline_access scope in Keycloak. This issue would affect users of shared computers more (especially if cookies are not cleared), due to a lack of root session validation, and the reuse of session ids across root and user authentication sessions. This enables an attacker to resolve a user session attached to a previously authenticated user; when utilizing the refresh token, they will be issued a token for the original user.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.8 Medium | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N | redhat |
Weaknesses
- CWE-384 Session Fixation
Affected Products
| Product | Versions |
|---|---|
Red Hat Single Sign-On 7Red Hat | |
Red Hat Single Sign-On 7.6.1Red Hat | |
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
References
- RHSA-2022:8961vendor-advisory
- RHSA-2022:8962vendor-advisory
- RHSA-2022:8963vendor-advisory
- RHSA-2022:8964vendor-advisory
- RHSA-2022:8965vendor-advisory
- RHSA-2023:1043vendor-advisory
- RHSA-2023:1044vendor-advisory
- RHSA-2023:1045vendor-advisory
- RHSA-2023:1047vendor-advisory
- RHSA-2023:1049vendor-advisory
- https://access.redhat.com/security/cve/CVE-2022-3916vdb-entry
- RHBZ#2141404issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.