Keycloak Redirect URI Validation Bypass Token Theft
CVE-2023-6291 Published on January 26, 2024
A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.
Vulnerability Analysis
CVE-2023-6291 can be exploited with network access, requires user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be low. considered to have a small impact on confidentiality and integrity and availability.
Weakness Type
What is an Open Redirect Vulnerability?
A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks. An http parameter may contain a URL value and could cause the web application to redirect the request to the specified URL. By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam and steal user credentials. Because the server name in the modified link is identical to the original site, phishing attempts have a more trustworthy appearance.
CVE-2023-6291 has been classified to as an Open Redirect vulnerability or weakness.
Products Associated with CVE-2023-6291
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2023-6291 are published in these products:
Affected Versions
Red Hat build of Keycloak 22:- Version 22.0.7-1 and below * is unaffected.
- Version 22-6 and below * is unaffected.
- Version 22-9 and below * is unaffected.
- Version 0:18.0.11-2.redhat_00003.1.el7sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el7sso and below * is unaffected.
- Version 0:18.0.11-2.redhat_00003.1.el8sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el8sso and below * is unaffected.
- Version 0:18.0.11-2.redhat_00003.1.el9sso and below * is unaffected.
- Version 0:18.0.12-1.redhat_00001.1.el9sso and below * is unaffected.
- Version 7.6-38 and below * is unaffected.
- Version 7.6.6-2 and below * is unaffected.
- Version 7.6-41 and below * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.