ID:10601 - Exploit for Improper verification of cryptographic signature in Keycloak - CVE-2024-8698
Published: October 11, 2024
Keycloak
Link to public exploit:
Vulnerability description
The vulnerability allows a remote user to escalate privileges within the application.
The vulnerability exists due to improper validation of SAML signature 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. A remote user can create crafted responses that bypass the validation, potentially leading to privilege escalation or impersonation attacks.