S4E just found a high top 10 tcp port service scan
medium·Product Based Web Vulnerabilities·Updated Oct 7, 2024

CVE-2024-8883 Scanner

CVE-2024-8883 scanner - Open Redirect vulnerability in Keycloak

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
0
Times Used
by S4E users
0
Assets Scanned
domains & IPs
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2024-8883
6.1
CVSSmedium
Exploitable remotely over the internet · no authentication required · user interaction needed.

A misconfiguration flaw was found in Keycloak. This issue can allow an attacker to redirect users to an arbitrary URL if a 'Valid Redirect URI' is set to http://localhost or http://127.0.0.1, enabling sensitive information such as authorization codes to be exposed to the attacker, potentially leading to session hijacking.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
AFFECTED< 22.0.12SAFE ✓≥ 22.0.12
Red Hat Build of Keycloakby Red Hat
Red Hat Build of Keycloakby Red Hat
Red Hat build of Keycloak 22by Red Hat
AFFECTED< *SAFE ✓≥ *
Updated Aug 19, 2026View on NVD →
Detail

Keycloak is an open-source identity and access management solution, widely used in corporate and developer environments for secure authentication and authorization. Developed and maintained by Red Hat, Keycloak supports OAuth2 and SAML protocols and allows for SSO across multiple applications. It is often deployed on cloud environments and integrated with various backend systems. Security-conscious teams utilize Keycloak to centralize user authentication. Any security flaws in Keycloak can affect the integrity of access controls and sensitive data.

This vulnerability allows attackers to conduct Open Redirect attacks by exploiting improperly validated redirect URIs. When a misconfigured redirect URI is set to 'localhost' or '127.0.0.1', the attacker can redirect users to an arbitrary URL. This may expose sensitive information, including authorization codes, to attackers. Consequently, successful exploitation could lead to unauthorized session access or data leakage.

The vulnerability is present in the 'Valid Redirect URI' configuration within Keycloak. When this URI is set to unsafe values such as 'http://localhost' or 'http://127.0.0.1', it enables redirection to attacker-controlled sites. Attackers exploit this by appending malicious URLs to the redirect URI parameter, capturing sensitive information like authorization codes. Vulnerable endpoints include the '/realms/master/protocol/openid-connect/auth' URL, and the misconfiguration can impact several Keycloak clients, including 'security-admin-console' and 'account-console'. The vulnerability requires user interaction to complete the redirection.

If exploited, this vulnerability could allow attackers to redirect users to phishing sites or other malicious websites, leading to session hijacking or credential theft. Sensitive information, such as authorization codes, may be exposed to attackers, potentially leading to unauthorized access to protected resources. Additionally, exploitation could compromise the integrity of authentication workflows in systems that rely on Keycloak. This may result in unauthorized access to sensitive user data or application resources.

By joining S4E, you gain access to comprehensive threat exposure management tailored for your digital assets. Our platform provides regular updates, automatic scans, and insightful reports on various vulnerabilities, helping you strengthen your security posture. Protect your system from critical flaws like open redirects with continuous monitoring and proactive alerts. Sign up today to secure your environment and stay ahead of potential threats with reliable, user-friendly tools.

References:

Solution Advice
  • Review and limit 'Valid Redirect URIs' to trusted domains only.
  • Avoid setting redirect URIs to 'localhost' or internal IPs like '127.0.0.1'.
  • Regularly audit application configuration settings and access controls.
  • Apply any security patches released by Keycloak for Open Redirect mitigation.
  • Implement logging and monitoring for unusual redirect URI requests to detect potential exploitation attempts.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.