CVE-2022-3916 - CVE House
Back to Database
Status published Medium CVE-2022-3916

Keycloak: session takeover with oidc offline refreshtokens

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-3916

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Red Hat would like to thank Peter Flintholm (Trifork) for reporting this issue.

Affected Vendor

Affected Software

Red Hat Single Sign-On 7, Red Hat Single Sign-On 7.6.1, Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Single Sign-On 7.6 for RHEL 9, RHEL-8 based Middleware Containers
Vulnerable Versions:
0:18.0.3-1.redhat_00002.1.el7sso, 0:18.0.6-1.redhat_00001.1.el7sso, 0:18.0.3-1.redhat_00002.1.el8sso, 0:18.0.6-1.redhat_00001.1.el8sso, 0:18.0.3-1.redhat_00002.1.el9sso, 0:18.0.6-1.redhat_00001.1.el9sso, 7.6-15, 7.6-20

Timeline

Official Publish: September 20th, 2023
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

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

Weaknesses (CWE)