Medium severity · published Sep 20, 2023
CVE-2022-3916
A flaw was found in the offline_access scope in Keycloak
6.8
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Keycloak · Redhat
before 20.0.2 · source: NVD
OC
Openshift Container Platform · Redhat
4.9; 4.10 · source: NVD
OC
Openshift Container Platform For Linuxone · Redhat
4.9; 4.10 · source: NVD
OC
Openshift Container Platform For Power · Redhat
4.9; 4.10 · source: NVD
OC
Openshift Container Platform Ibm Z Systems · Redhat
4.9; 4.10 · source: NVD
SS
Single Sign-on · Redhat
7.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-3916
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-3916
Vendor Advisory
https://access.redhat.com/errata/RHSA-2022:8961
Vendor Advisory
https://access.redhat.com/errata/RHSA-2022:8962
Vendor Advisory
https://access.redhat.com/errata/RHSA-2022:8963
Vendor Advisory
https://access.redhat.com/errata/RHSA-2022:8964
Vendor Advisory
https://access.redhat.com/errata/RHSA-2022:8965
Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:1043
More from Keycloak
9.8
CVE-2022-1245
A privilege escalation flaw was found in the token exchange feature of keycloak
9.8
CVE-2019-14910
A vulnerability was found in keycloak 7.x, when keycloak is configured with LDAP user federation and StartTLS is used instead of SSL/TLS from the LDAP server (ldaps), in this case…
9.6
CVE-2021-20195
A flaw was found in keycloak in versions before 13.0.0
9.1
CVE-2022-3782
keycloak: path traversal via double URL encoding
9.1
CVE-2019-14837
A flaw was found in keycloack before version 8.0.0
