Skip to content
OpenAdvisories

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Single Sign-On 7 — —
Red Hat Red Hat Single Sign-On 7.6.1 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.3-1.redhat_00002.1.el7sso RHSA-2023:1045, RHSA-2023:1044, RHSA-2023:1043

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-parent < 20.0.2 20.0.2 GHSA-97g8-xfvw-q4hg

Advisories 7

References