Description
A flaw was found in Keycloak that prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This issue could allow an attacker to submit a specially crafted request leading to cross-site scripting (XSS) or further attacks. This flaw is the result of an incomplete fix for CVE-2020-10748.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat build of Keycloak 22 | — | — |
| Red Hat | Red Hat build of Keycloak 22.0.7 | — | — |
| Red Hat | Red Hat Single Sign-On 7 | — | — |
| 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 | Single Sign-On 7.6.6 | — | — |
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.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 18.0.11-2.redhat_00003.1.el7sso | RHSA-2024:0800, RHSA-2024:0799, RHSA-2024:0798 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.keycloak:keycloak-services | < 23.0.3 | 23.0.3 | GHSA-cvg2-7c3j-g36j |
Advisories 7
- RHSA-2024:0800 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:0799 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2024:0798 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.7 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:7856 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2023:7854 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- RHSA-2023:7855 Red Hat Security Advisory: Red Hat Single Sign-On 7.6.6 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Sep 22, 2026
- WID-SEC-2023-2901 Keycloak: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Jul 1, 2024
References
- RHSA-2023:7854 vendor-advisory
- RHSA-2023:7855 vendor-advisory
- RHSA-2023:7856 vendor-advisory
- RHSA-2023:7857 vendor-advisory
- RHSA-2023:7858 vendor-advisory
- RHSA-2023:7860 vendor-advisory
- RHSA-2023:7861 vendor-advisory
- RHSA-2024:0798 vendor-advisory
- RHSA-2024:0799 vendor-advisory
- RHSA-2024:0800 vendor-advisory
- RHSA-2024:0801 vendor-advisory
- RHSA-2024:0804 vendor-advisory
- https://access.redhat.com/security/cve/CVE-2023-6134 vdb-entry
- RHBZ#2249673 issue-tracking