GHSA-97g8-xfvw-q4hg

    Dashboard / Vulnerabilities / GHSA-97g8-xfvw-q4hg

    GHSA-97g8-xfvw-q4hg

    Published: 13 Dec 2022Last Modified: 16 Feb 2024
    Aliases:

    Summary: Keycloak vulnerable to session takeover with OIDC offline refreshtokens

    Details: An issue was discovered in Keycloak when using a client with the `offline_access` scope. Reuse of session ids across root and user authentication sessions and a lack of root session validation enabled attackers to resolve a user session attached to a different previously authenticated user. This issue most affects users of shared computers. Suppose a user logs out of their account (without clearing their cookies) in a mobile app or similar client that includes the `offline_access` scope, and another user authenticates to the application. In that case, it will share the same root session id, and when utilizing the refresh token, they will be issued a token for the original user.

    Affected packages

    Package

    Name: org.keycloak:keycloak-parent

    Purl: pkg:maven/org.keycloak/keycloak-parent

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -20.0.2

    Affected versions

    1.0-alpha-1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-97g8-xfvw-q4hg | CVE-DB