CVE-2023-6134
JSON

4.6medium

Keycloak: reflected xss via wildcard in oidc redirect_uri

Severity
4.6medium CVSS:3.1 by redhat
Exploit likelihood
1.32% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-cvg2-7c3j-g36j

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

Product or packageVersionsReported by
rhbk/keycloak-operator-bundleNot specified
Not affected: from 22.0.7-1 before *
CVE List
rhbk/keycloak-rhel9Not specified
Not affected: from 22-6 before *
CVE List
rhbk/keycloak-rhel9-operatorNot specified
Not affected: from 22-9 before *
CVE List
Red Hat Red Hat build of Keycloak 22.0.7Not specifiedCVE List
rh-sso7-keycloakNot specified
Not affected: from 0:18.0.11-2.redhat_00003.1.el7sso before *, from 0:18.0.12-1.redhat_00001.1.el7sso before *, from 0:18.0.11-2.redhat_00003.1.el8sso before *, from 0:18.0.12-1.redhat_00001.1.el8sso before *, from 0:18.0.11-2.redhat_00003.1.el9sso before *, from 0:18.0.12-1.redhat_00001.1.el9sso before *
CVE List
rh-sso-7/sso76-openshift-rhel8Not specified
Not affected: from 7.6-38 before *, from 7.6-41 before *
CVE List
rh-sso-7/sso7-rhel8-operator-bundleNot specified
Not affected: from 7.6.6-2 before *
CVE List
org.keycloak:keycloak-services (Maven)before 23.0.3GitHub Advisory Database
redhat single_sign-onbefore 7.6NVD
redhat keycloakbefore 22.0.7NVD
redhat openshift_container_platform4.11, 4.12NVD
redhat openshift_container_platform_for_power4.9, 4.10NVD

All scores

redhat4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
GitHub4.6medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

What each source says

CVE List

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.

GitHub Advisory Database

Keycloak prevents certain schemes in redirects, but permits them if a wildcard is appended to the token. This could permit an attacker to submit a specially crafted request leading to XSS or possibly further attacks.

NVD (es)

Se encontró una falla en Keycloak que impide ciertos esquemas en las redirecciones, pero los permite si se agrega un comodín al token. Este problema podría permitir que un atacante envíe una solicitud especialmente manipulada que dé lugar a cross-site scripting (XSS) o más ataques. Esta falla es el resultado de una solución incompleta para CVE-2020-10748.

References

https://access.redhat.com/errata/RHSA-2023:7854vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7855vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7856vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7857exploit, vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7858vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7860vendor-advisory, web
https://access.redhat.com/errata/RHSA-2023:7861vendor-advisory, web
https://access.redhat.com/errata/RHSA-2024:0798vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0799vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0800vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0801vendor-advisory
https://access.redhat.com/errata/RHSA-2024:0804vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2023-6134 changed 2026-11-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-cvg2-7c3j-g36j changed 2024-02-16CC-BY-4.0
NVDCVE-2023-6134 changed 2026-09-22Public domain