CVE-2022-3916
Keycloak: session takeover with oidc offline refreshtokens
CVSS Score
6.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-384 |
| Vendor | red hat |
| Product | red hat single sign-on 7 |
| Published | Sep 20, 2023 |
| Last Updated | Aug 3, 2024 |
Stay Ahead of the Next One
Get instant alerts for red hat red hat single sign-on 7
Be the first to know when new medium vulnerabilities affecting red hat red hat single sign-on 7 are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
Red Hat / Red Hat Single Sign-On 7
All versions affected Red Hat / Red Hat Single Sign-On 7.6.1
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 7
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 7
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 8
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 8
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 9
All versions affected Red Hat / Red Hat Single Sign-On 7.6 for RHEL 9
All versions affected Red Hat / RHEL-8 based Middleware Containers
All versions affected Red Hat / RHEL-8 based Middleware Containers
All versions affected References
access.redhat.com: https://access.redhat.com/errata/RHSA-2022:8961 access.redhat.com: https://access.redhat.com/errata/RHSA-2022:8962 access.redhat.com: https://access.redhat.com/errata/RHSA-2022:8963 access.redhat.com: https://access.redhat.com/errata/RHSA-2022:8964 access.redhat.com: https://access.redhat.com/errata/RHSA-2022:8965 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:1043 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:1044 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:1045 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:1047 access.redhat.com: https://access.redhat.com/errata/RHSA-2023:1049 access.redhat.com: https://access.redhat.com/security/cve/CVE-2022-3916 bugzilla.redhat.com: https://bugzilla.redhat.com/show_bug.cgi?id=2141404
Credits
Red Hat would like to thank Peter Flintholm (Trifork) for reporting this issue.