ADVISORIES

GitHub Advisory Database

GHSA-w8gr-xwp4-r9f7

Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect

Moderate CVE-2024-8883

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 22.0.13 (fixed in 22.0.13)
Mavenorg.keycloak:keycloak-services
From 23.0.0 before 24.0.8 (fixed in 24.0.8)
Mavenorg.keycloak:keycloak-services
From 25.0.0 before 25.0.6 (fixed in 25.0.6)

References