Review reviewHigh

CVE-2024-7341

Red Hat Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24

A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.

CVSS
7.1
EPSS
0.80%
53.2% percentile
CISA KEV
Not listed
Published
2024.09.10
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.80%
Technical severityCVSS 7.1

Vulnerability overview

A session fixation issue was discovered in the SAML adapters provided by Keycloak. The session ID and JSESSIONID cookie are not changed at login time, even when the turnOffChangeSessionIdOnLogin option is configured. This flaw allows an attacker who hijacks the current session before authentication to trigger session fixation.

Affected product and versions

Product
Red Hat Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24
Affected versions
< 22.0.12, >= 23.0.0 < 24.0.7, >= 25.0.0 < 25.0.5, <= 25.0.2, >= 7.6 < 7.6.10, >= 22.0 < 22.0.12, >= 24.0 < 24.0.7
Fixed versions
7.6.10, 22.0.12, 24.0.7

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Red Hat Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24 and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CWE
CWE-384
CVE-2024-7341 — Red Hat Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24 | SECUFOCUS NOW