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-2419: URL Redirection to Untrusted Site ('Open Redirect')

0
High
VulnerabilityCVE-2024-2419cvecve-2024-2419
Published: Wed Apr 17 2024 (04/17/2024, 13:23:34 UTC)
Source: CVE Database V5

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/28/2026, 10:42:37 UTC

Technical Analysis

CVE-2024-2419 is a vulnerability in Keycloak, an open-source identity and access management solution widely used for single sign-on and authentication services. The flaw resides in the redirect_uri validation logic, which is intended to restrict redirection to explicitly allowed hosts after authentication. Due to improper validation, attackers can craft URLs that bypass these restrictions, causing users to be redirected to untrusted or malicious sites. This open redirect vulnerability can be exploited to steal access tokens by tricking users into following malicious links, enabling attackers to impersonate legitimate users and gain unauthorized access to protected resources. The vulnerability affects all Keycloak versions up to 23.0.0. The CVSS 3.1 score of 7.1 indicates a high-severity issue with a network attack vector, no privileges required, user interaction needed, and a scope change that affects confidentiality, integrity, and availability. Although no active exploits have been reported, the similarity to CVE-2023-6291, which had known exploitation, suggests a credible threat. The vulnerability's exploitation could lead to significant security breaches in environments relying on Keycloak for authentication, especially in cloud and enterprise settings.

Potential Impact

The impact of CVE-2024-2419 is substantial for organizations using Keycloak as their identity provider. Successful exploitation can lead to theft of access tokens, allowing attackers to impersonate users and access sensitive data or systems without authorization. This compromises confidentiality and integrity of user sessions and may also disrupt availability if attackers perform unauthorized actions or cause session invalidation. Enterprises relying on Keycloak for single sign-on and federated identity management face risks of widespread account compromise, data breaches, and potential lateral movement within networks. The vulnerability could also undermine trust in authentication workflows, affecting compliance with regulatory requirements. Given Keycloak's adoption in government, financial, healthcare, and technology sectors, the threat has broad implications for critical infrastructure and sensitive data protection worldwide.

Mitigation Recommendations

To mitigate CVE-2024-2419, organizations should immediately upgrade Keycloak to a version where the redirect_uri validation logic is properly fixed once patches are released. Until patches are available, administrators should implement strict allowlists for redirect URIs and consider disabling or restricting external redirects where feasible. Employ additional monitoring and logging of authentication redirects to detect suspicious redirection patterns. Use Web Application Firewalls (WAFs) to block known malicious URLs and enforce strict Content Security Policies (CSP) to reduce the impact of redirected malicious content. Educate users to be cautious of unexpected authentication redirects and implement multi-factor authentication (MFA) to reduce the risk of token misuse. Conduct regular security assessments and penetration testing focused on authentication flows to identify similar weaknesses. Finally, review and tighten OAuth2/OpenID Connect configurations to minimize exposure.

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

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2024-03-13T13:17:07.809Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 691356bfb36faa5b6c09d25a

Added to database: 11/11/2025, 3:31:11 PM

Last enriched: 2/28/2026, 10:42:37 AM

Last updated: 3/26/2026, 7:45:02 AM

Views: 197

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