What happened
A vulnerability has been identified in the Client-Initiated Backchannel Authentication (CIBA) implementation within the keycloak-services component of Keycloak. This flaw allows a client to initiate a login flow without proper authorization verification. Specifically, it permits unauthorised public clients to bypass security measures intended to restrict CIBA flow usage. An attacker could exploit this weakness by delivering malicious content that, when opened by a user, may trick them into approving a login request. This could lead to the attacker gaining full access to the user's account, as no client secret is required in this process.
Who is affected
Organisations running keycloak-services components of Keycloak are potentially affected by this vulnerability. The flaw exists in the implementation of the CIBA flow, which handles complex authentication procedures involving user login via clients. Affected deployments are at risk if they are exposed to untrusted content delivered remotely, requiring no prior access but necessitating user interaction to activate the exploit.
Recommended actions
- Review vendor advisories for information on fixed versions or patches related to this specific vulnerability.
- Implement protective measures for content delivery environments, such as email and web content filtering, to prevent malicious content from reaching end users.
- Apply attack-surface reduction strategies on software responsible for rendering or opening untrusted content, including sandboxing and configuration controls.
- Enhance user awareness and training to recognise potentially malicious content that could exploit this vulnerability.

