VDB
Sign up
MEDIUM6.1

GHSA-w8gr-xwp4-r9f7

Keycloak has Vulnerable Redirect URI Validation Results in Open Redirect

Quick fix

GHSA-w8gr-xwp4-r9f7 — org.keycloak:keycloak-services: upgrade to the fixed version with the command below.

# pom.xml: bump <version>22.0.13</version> for org.keycloak:keycloak-services

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.keycloak:keycloak-services
Introduced in: 0Fixed in: 22.0.13
Fix# pom.xml: bump <version>22.0.13</version> for org.keycloak:keycloak-services
Maven/org.keycloak:keycloak-services
Introduced in: 23.0.0Fixed in: 24.0.8
Fix# pom.xml: bump <version>24.0.8</version> for org.keycloak:keycloak-services
Maven/org.keycloak:keycloak-services
Introduced in: 25.0.0Fixed in: 25.0.6
Fix# pom.xml: bump <version>25.0.6</version> for org.keycloak:keycloak-services

References