Keycloak-services: keycloak-services: ciba confidential-only contract not enforced for public clients
Red Hat Build of Keycloak · Red Hat Single Sign-On 7
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Build of Keycloak | — | No fix yet |
| Red Hat Red Hat Build of Keycloak | — | No fix yet |
| Red Hat Red Hat Single Sign-On 7 | — | No fix yet |
Original description
A flaw was found in the Client-Initiated Backchannel Authentication CIBA implementation within the keycloak-services component of Keycloak. This component handles advanced authentication flows where a client initiates a login on behalf of a user. The issue occurs because Keycloak fails to verify that a client is authorized to use the CIBA flow, allowing public clients to bypass security requirements. An attacker could use this flaw to trick a user into approving a login request, eventually gaining full access to the users account without needing a client secret.