Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-7260: URL Redirection to Untrusted Site ('Open Redirect')

0
Medium
VulnerabilityCVE-2024-7260cvecve-2024-7260
Published: Mon Sep 09 2024 (09/09/2024, 18:49:59 UTC)
Source: CVE

Description

An open redirect 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. A trusted URL can trick users and automation into believing that the URL is safe, when, in fact, it redirects to a malicious server. This issue 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. This will trigger this vulnerability when the user visits the page and clicks the link. A malicious actor can use this to target users they know are Keycloak admins for further attacks. It may also be possible to bypass other domain-related security checks, such as supplying this as a OAuth redirect uri. The malicious actor can further obfuscate the redirect_uri using URL encoding, to hide the text of the actual malicious website domain.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 03:54:24 UTC

Technical Analysis

CVE-2024-7260 is an open redirect vulnerability discovered in Keycloak, an open-source identity and access management solution widely used for single sign-on and authentication services. The vulnerability arises from improper validation of the referrer and referrer_uri parameters in URLs handled by Keycloak. An attacker can craft a URL that appears to originate from a trusted Keycloak domain but redirects victims to a malicious external site. This can deceive users and automated systems into trusting the URL, facilitating phishing attacks or other malicious activities. The attacker may send these crafted URLs via email or other communication channels targeting Keycloak administrators or users, increasing the likelihood of successful exploitation. Additionally, the vulnerability may allow bypassing domain-related security checks, such as those used in OAuth redirect URI validation, further increasing the attack surface. The malicious redirect URL can be obfuscated using URL encoding to hide the true destination, making detection more difficult. The vulnerability does not require authentication but does require user interaction (clicking the link). The CVSS 3.1 base score is 6.1, indicating a medium severity with network attack vector, low attack complexity, no privileges required, user interaction required, scope changed, and low impact on confidentiality and integrity but no availability impact. No known exploits in the wild have been reported as of the publication date.

Potential Impact

The primary impact of CVE-2024-7260 is the potential for successful phishing attacks and social engineering campaigns targeting Keycloak administrators and users. By exploiting the open redirect, attackers can lure victims to malicious websites that may harvest credentials, deliver malware, or conduct further attacks. The ability to bypass OAuth redirect URI checks could lead to unauthorized token redirection or session hijacking in some scenarios, increasing the risk to authentication flows. While the vulnerability does not directly compromise system availability or integrity, the indirect consequences of credential theft or session compromise can lead to broader security breaches. Organizations relying on Keycloak for identity management, especially those with high-value targets or sensitive data, face increased risk of targeted attacks leveraging this vulnerability. The medium severity reflects the need for timely remediation but also indicates that exploitation requires user interaction and some social engineering.

Mitigation Recommendations

To mitigate CVE-2024-7260, organizations should apply any available patches or updates from Keycloak as soon as they are released. In the absence of patches, administrators should implement strict validation and sanitization of redirect parameters, ensuring that only trusted URLs within the organization's domain are allowed. Configuring Keycloak to reject or ignore unrecognized or external redirect URIs can reduce the attack surface. Security teams should educate users, especially administrators, about the risks of clicking suspicious links, emphasizing verification of URLs even if they appear to originate from trusted sources. Email filtering and anti-phishing solutions should be tuned to detect and block messages containing suspicious redirect URLs. Monitoring logs for unusual redirect activity or repeated failed redirect attempts can help identify exploitation attempts. Additionally, reviewing OAuth client configurations to enforce strict redirect URI whitelisting and employing multi-factor authentication can limit the impact of potential credential compromise.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2024-07-30T02:24:02.197Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682d9838c4522896dcbebe57

Added to database: 5/21/2025, 9:09:12 AM

Last enriched: 2/28/2026, 3:54:24 AM

Last updated: 3/24/2026, 5:45:55 PM

Views: 51

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses