A flaw was found in the SAML metadata import functionality of the keycloak-services component, which is the core engine for identity brokering in Red Hat Build of Keycloak. When importing identity provider metadata that lacks specific usage attributes for keys, the system incorrectly disables signature validation for SAML responses even if a signing certificate is provided. This issue allows an unauthenticated attacker to forge a SAML response and gain unauthorized access to a user account by knowing their external identifier.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NRed Hat Build Of Keycloak
APPRedhat26.4 – 26.4.14 (excl.)26.6 – 26.6.5 (excl.)
Related vulnerabilities
Keycloak SAML Broker: pominięcie ograniczeń logowania w IdP-initiated SSO
Keycloak DCR: obejście polityki mapperów i eskalacja do admina
Keycloak DCR: fałszowanie ról administracyjnych przez User Property mapper
Keycloak: ominięcie polityki bezpieczeństwa przez nieprawidłową normalizację URI
Keycloak: pominięcie walidacji statusu konta przy JWT authorization grant