CVE-2024-7341: Session Fixation
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.
AI Analysis
Technical Summary
This vulnerability involves a session fixation issue in Keycloak's SAML adapters, where the session ID and JSESSIONID cookie remain unchanged at login time despite the turnOffChangeSessionIdOnLogin option. This flaw enables an attacker who hijacks a session prior to authentication to exploit session fixation. The issue is tracked as CVE-2024-7341 with a CVSS 3.1 score of 7.1 (high severity). Red Hat's advisories for Single Sign-On 7.6.10 on RHEL 7 and 8 include patches that fix this vulnerability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to hijack a user's session by fixing the session ID before authentication, potentially leading to unauthorized access with high confidentiality, integrity, and availability impact as indicated by the CVSS vector. This could compromise user accounts and sensitive data protected by the affected authentication system.
Mitigation Recommendations
Red Hat has released security updates for Red Hat Single Sign-On 7.6.10 on RHEL 7 and 8 that address this session fixation vulnerability. Users should apply these updates to remediate the issue. Before applying the update, ensure all previously released errata relevant to the system have been applied. Refer to Red Hat's official advisories and update instructions at https://access.redhat.com/articles/11258 for detailed guidance.
CVE-2024-7341: Session Fixation
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.
CVSS v3.1
Score 7.1high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a session fixation issue in Keycloak's SAML adapters, where the session ID and JSESSIONID cookie remain unchanged at login time despite the turnOffChangeSessionIdOnLogin option. This flaw enables an attacker who hijacks a session prior to authentication to exploit session fixation. The issue is tracked as CVE-2024-7341 with a CVSS 3.1 score of 7.1 (high severity). Red Hat's advisories for Single Sign-On 7.6.10 on RHEL 7 and 8 include patches that fix this vulnerability.
Potential Impact
Successful exploitation of this vulnerability could allow an attacker to hijack a user's session by fixing the session ID before authentication, potentially leading to unauthorized access with high confidentiality, integrity, and availability impact as indicated by the CVSS vector. This could compromise user accounts and sensitive data protected by the affected authentication system.
Mitigation Recommendations
Red Hat has released security updates for Red Hat Single Sign-On 7.6.10 on RHEL 7 and 8 that address this session fixation vulnerability. Users should apply these updates to remediate the issue. Before applying the update, ensure all previously released errata relevant to the system have been applied. Refer to Red Hat's official advisories and update instructions at https://access.redhat.com/articles/11258 for detailed guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2024-07-31T15:13:22.220Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/errata/RHSA-2024:6493","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6494","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6495","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6497","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6499","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6500","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6501","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6502","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6503","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2024-7341","vendor":"Red Hat"}]
Threat ID: 69156c928f1a6240445ae4a8
Added to database: 11/13/2025, 05:28:50 UTC
Last enriched: 08/04/2026, 13:08:21 UTC
Last updated: 08/25/2026, 13:38:30 UTC
Views: 300
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.