Skip to content

Keycloak path transversal vulnerability in redirection validation

High severity GitHub Reviewed Published Apr 17, 2024 in keycloak/keycloak • Updated Apr 27, 2024

Package

maven org.keycloak:keycloak-services (Maven)

Affected versions

< 22.0.10
>= 23.0.0, < 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.

References

@abstractj abstractj published to keycloak/keycloak Apr 17, 2024
Published by the National Vulnerability Database Apr 17, 2024
Published to the GitHub Advisory Database Apr 17, 2024
Reviewed Apr 17, 2024
Last updated Apr 27, 2024

Severity

High
8.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Weaknesses

CVE ID

CVE-2024-1132

GHSA ID

GHSA-72vp-xfrc-42xm

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.