CVE-2024-7341

HIGHCVSS 7.1/10EPSS 0.80%

Last modified

CVE-2024-7341 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. 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. EPSS estimates a 0.80% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.1/10

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
0.80%

51.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedhatKeycloak<= 25.0.2
RedhatSingle Sign-On>= 7.6, < 7.6.10
RedhatBuild Of Keycloak>= 22.0, < 22.0.12
RedhatBuild Of Keycloak>= 24.0, < 24.0.7
RedhatSingle Sign-OnAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2024-7341?
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.
How severe is CVE-2024-7341?
CVE-2024-7341 has a CVSS score of 7.1/10 (HIGH severity). The EPSS model estimates a 0.80% probability of exploitation in the next 30 days.
How do I fix CVE-2024-7341?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-7341?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST