Vulnerability in Red Hat Build Of Keycloak

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.

EPSS: 0.020 (79.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-8698?
CVE-2024-8698 is a high-severity vulnerability in Red Hat Build Of Keycloak, classified under Improper Verification of Cryptographic Signature. CVSS score: 7.7/10. Published 2024-09-19.
How severe is CVE-2024-8698?
High severity. CVSS v3 base score is 7.7 out of 10.
Is CVE-2024-8698 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.