Vulnerabilities

CVE-2024-7341

Wildfly-elytron: org.keycloak/keycloak-services: session fixation in elytron saml adapters

High 7.1 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2024-09-09
Last modified
2026-08-27
Assigned by
redhat
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Scored by
CVE Program
Probability of exploitation
0.8 % higher than 53 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Red Hat Red Hat Build of Keycloak all versions listed Not affected
Red Hat Red Hat build of Keycloak 22 ≥ 22-17, < * Not affected
Red Hat Red Hat build of Keycloak 22 ≥ 22-20, < * Not affected
Red Hat Red Hat build of Keycloak 22 ≥ 22.0.12-1, < * Not affected
Red Hat Red Hat build of Keycloak 24 ≥ 24-16, < * Not affected
Red Hat Red Hat build of Keycloak 24 ≥ 24.0.7-4, < * Not affected
Red Hat Red Hat JBoss Enterprise Application Platform 8 all versions listed Not affected
Red Hat Red Hat Single Sign-On 7 all versions listed Not affected
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 ≥ 0:18.0.16-1.redhat_00001.1.el7sso, < * Not affected
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 ≥ 0:18.0.16-1.redhat_00001.1.el8sso, < * Not affected
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 ≥ 0:18.0.16-1.redhat_00001.1.el9sso, < * Not affected
Red Hat RHEL-8 based Middleware Containers ≥ 7.6-52, < * Not affected

Weakness type

  • CWE-384: Session Fixation

    Authenticating a user, or otherwise establishing a new user session, without invalidating any existing session identifier gives an attacker the opportunity to steal authenticated sessions.

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1134: Access Token Manipulation stealth, privilege-escalation
  • T1134.001: Token Impersonation/Theft stealth, privilege-escalation
  • T1134.002: Create Process with Token stealth, privilege-escalation
  • T1134.003: Make and Impersonate Token stealth, privilege-escalation
  • T1528: Steal Application Access Token credential-access
  • T1539: Steal Web Session Cookie credential-access
  • T1550.004: Web Session Cookie lateral-movement
  • T1606: Forge Web Credentials credential-access

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities