Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 25.0.5.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Red Hat | Build of Keycloak | ||
| Red Hat | JBoss | ||
| Red Hat | RHEL-8 based Middleware Containers | ||
| Red Hat | Single Sign-On | ||
| <25.0.5 | 25.0.5 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in JBoss, strongest first
Embed
A live severity badge for an advisory, README or ticket