Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak
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.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2024-8698US | — | Exploit | ||
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 documen… | ||||
references
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2024:6878WEB
- https://access.redhat.com/errata/RHSA-2024:6879WEB
- https://access.redhat.com/errata/RHSA-2024:6880WEB
- https://access.redhat.com/errata/RHSA-2024:6882WEB
- https://access.redhat.com/errata/RHSA-2024:6886WEB
- https://access.redhat.com/errata/RHSA-2024:6887WEB
- https://access.redhat.com/errata/RHSA-2024:6888WEB
- https://access.redhat.com/errata/RHSA-2024:6889WEB
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan