Skip to main content

URL Redirection to Untrusted Site ('Open Redirect') in org.keycloak:keycloak-services

CVE-2024-8883

  • org.keycloak:keycloak-services
Severity Medium
Score 6.1/10

Summary

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. This vulnerability affects org.keycloak:keycloak-services package versions through 22.0.12, 23.0.0 through 24.0.7, 25.0.0 through 25.0.5.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-601 - Open Redirect

An open redirect attack employs a URL parameter, HTML refresh tags, or a DOM based location change to exploit the trust of a vulnerable domain to direct the users to a malicious website. The attack could lead to higher severity vulnerabilities such as unauthorized access control, account takeover, XSS, and more.

Advisory Timeline

  • Published