Authentication bypass using an alternate path or channel in Keycloak - CVE-2023-0264

 

Authentication bypass using an alternate path or channel in Keycloak - CVE-2023-0264

Published: March 2, 2023 / Updated: May 31, 2024


Vulnerability identifier: #VU72725
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-0264
CWE-ID: CWE-288
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote user to impersonate application users.

The vulnerability exists due to an error when handling authentication requests in the OpenID Connect user authentication. A remote authenticated user who can obtain a certain piece of info from a victim's user request from the same realm can use that data to impersonate the victim and generate new session tokens.


Affected software

Keycloak
Red Hat Single Sign-On
rh-sso7-keycloak (Red Hat package)

How to mitigate CVE-2023-0264

Install updates from vendor's website.

Keycloak - update to 21.0.1
Red Hat Single Sign-On - update to 7.6.2
rh-sso7-keycloak (Red Hat package) - addressed in versions 18.0.6-1.redhat_00001.1.el7sso, 18.0.6-1.redhat_00001.1.el8sso, 18.0.6-1.redhat_00001.1.el9sso

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins