Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in Keycloak's SAML signature validation. When a SAML document is not signed at its root, validation accepts it if every assertion found anywhere in the document is signed, without considering where the assertion sits or what kind of message it belongs to. An attacker who holds a legitimately signed assertion from the trusted identity provider can embed it in the Extensions element of an unsigned LogoutRequest that names another user. Keycloak accepts the request as signed and terminates the targeted user's sessions.