VYPR
High severity7.7NVD Advisory· Published Sep 19, 2024· Updated Apr 15, 2026

CVE-2024-8698

CVE-2024-8698

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.keycloak:keycloak-saml-coreMaven
< 22.0.1322.0.13
org.keycloak:keycloak-saml-coreMaven
>= 23.0.0, < 24.0.824.0.8
org.keycloak:keycloak-saml-coreMaven
>= 25.0.0, < 25.0.625.0.6

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

18

News mentions

0

No linked articles in our index yet.