CVE-2024-8698

HIGHCVSS 7.7/10EPSS 2.04%

Last modified

CVE-2024-8698 is a high-severity vulnerability rated 7.7/10 on the CVSS scale. A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. EPSS estimates a 2.04% chance of exploitation in the next 30 days.

Description

A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.

Metrics

CVSS 3.1
7.7/10

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

EPSS Probability
2.04%

78.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-8698?
A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.
How severe is CVE-2024-8698?
CVE-2024-8698 has a CVSS score of 7.7/10 (HIGH severity). The EPSS model estimates a 2.04% probability of exploitation in the next 30 days.
How do I fix CVE-2024-8698?
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-8698?

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

Scan your code now

Source: NVD / NIST