A flaw was found in Keycloak's redirect_uri validation logic. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to the theft of an access token, making it possible for the attacker to impersonate other users. It is very similar to CVE-2023-6291.
Workaround:
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2024:1867 | vendor advisory |
https://access.redhat.com/security/cve/CVE-2024-2419 | vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2269371 | issue tracking |