First published: Wed Jul 31 2024(Updated: )
A vulnerability was found in Keycloak. A specially crafted URL can be constructed where the referrer and referrer_uri parameters are made to trick a user to visit a malicious webpage; this vulnerability is called an Open Redirect. A trusted URL can fool both users and automation into believing that the URL is safe when in fact it redirects to a malicious server. This can result in a victim inadvertently trusting the destination of the redirect, potentially leading to a successful phishing attack or other types of attacks. Once a crafted URL is made, it can be sent to a Keycloak admin via email for example, and it will trigger this vulnerability when the user visits the page and clicks the link. A malicious actor can target users whom they know are Keycloak admins for further attacks in this way. It may be possible to bypass other domain-related security checks, such as supplying this as a OAuth redirect uri. Finally, the malicious actor can further obfuscate the redirect_uri using URL encoding, to hide the text of the actual malicious website domain.
Affected Software | Affected Version | How to fix |
---|---|---|
Red Hat Keycloak |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2301875 is rated as high due to its potential to lead users to malicious websites via an Open Redirect.
To fix REDHAT-BUG-2301875, update Keycloak to the latest version where the vulnerability has been patched.
REDHAT-BUG-2301875 affects the Keycloak software.
An Open Redirect is a vulnerability that allows an attacker to redirect a user to a malicious site by manipulating URL parameters.
Yes, REDHAT-BUG-2301875 can be exploited by automated tools as it can fool both users and scripts into navigating to a malicious webpage.