Skip to content

Path transversal in redirection validation

High
abstractj published GHSA-72vp-xfrc-42xm Apr 17, 2024

Package

maven org.keycloak.protocol.oidc (Maven)

Affected versions

< 22.0.10, < 24.0.3

Patched versions

22.0.10, 24.0.3

Description

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.

Severity

High

CVE ID

CVE-2024-1132

Weaknesses