ADVISORIES

GitHub Advisory Database

GHSA-72vp-xfrc-42xm

Keycloak path traversal vulnerability in redirection validation

Details

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. An attacker can use this flaw to construct a malicious request to bypass validation and access other URLs and potentially sensitive information within the domain or possibly conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field.

Acknowledgements:

Special thanks to Axel Flamcourt for reporting this issue and helping us improve our project.

Affected packages

EcosystemPackageAffected versions
Mavenorg.keycloak:keycloak-services
All versions before 22.0.10 (fixed in 22.0.10)
Mavenorg.keycloak:keycloak-services
From 23.0.0 before 24.0.3 (fixed in 24.0.3)

References