Skip to content
OpenAdvisories

Description

A flaw was found in Keycloak, where it does not properly validate URLs included in a redirect. This issue could allow an attacker to construct a malicious request to bypass validation and access other URLs and sensitive information within the domain or conduct further attacks. This flaw affects any client that utilizes a wildcard in the Valid Redirect URIs field, and requires user interaction within the malicious URL.

Affected products

VendorProductAffectedFixed
— keycloak 21.1.0 – < 22.0.10, 23.0.0 – < 24.0.3 22.0.10
Red Hat Migration Toolkit for Runtimes 1 on RHEL 8 — —
Red Hat MTA-6.2-RHEL-9 — —
Red Hat Red Hat AMQ Broker 7 — —
Red Hat Red Hat build of Keycloak 22 — —
Red Hat Red Hat build of Keycloak 22.0.10 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 7 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 8 — —
Red Hat Red Hat Single Sign-On 7.6 for RHEL 9 — —
Red Hat RHEL-8 based Middleware Containers — —
Red Hat RHSSO 7.6.8 — —
Red Hat Red Hat build of Apicurio Registry 2 — —
Red Hat Red Hat build of Quarkus — —
Red Hat Red Hat Data Grid 8 — —
Red Hat Red Hat Decision Manager 7 — —
Red Hat Red Hat Fuse 7 — —
Red Hat Red Hat JBoss Data Grid 7 — —
Red Hat Red Hat JBoss Enterprise Application Platform 6 — —
Red Hat Red Hat JBoss Enterprise Application Platform 7 — —
Red Hat Red Hat Process Automation 7 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.13-1.redhat_00001.1.el7sso RHSA-2024:1862, RHSA-2024:1861, RHSA-2024:1860

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.keycloak:keycloak-services < 22.0.10 22.0.10 GHSA-72vp-xfrc-42xm
Maven org.keycloak:keycloak-services >= 23.0.0, < 24.0.3 24.0.3 GHSA-72vp-xfrc-42xm

Advisories 5

References