Keycloak: reflected xss via wildcard in oidc redirect_uri (Red Hat Red Hat build of Keycloak 22)
En bref
- Source
- NVD
- EPSS
- EPSS 1.32 % · centile 71 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
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.
Faiblesses (CWE)
- CWE-79 — Injection de code indirecte (XSS)
Références
- https://access.redhat.com/errata/RHSA-2023:7854
- https://access.redhat.com/errata/RHSA-2023:7855
- https://access.redhat.com/errata/RHSA-2023:7856
- https://access.redhat.com/errata/RHSA-2023:7857
- https://access.redhat.com/errata/RHSA-2023:7858
- https://access.redhat.com/errata/RHSA-2023:7860
- https://access.redhat.com/errata/RHSA-2023:7861
- https://access.redhat.com/errata/RHSA-2024:0798
- https://access.redhat.com/errata/RHSA-2024:0799
- https://access.redhat.com/errata/RHSA-2024:0800
- https://access.redhat.com/errata/RHSA-2024:0801
- https://access.redhat.com/errata/RHSA-2024:0804
- https://access.redhat.com/security/cve/CVE-2023-6134
- https://bugzilla.redhat.com/show_bug.cgi?id=2249673
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | redhat |
| CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-cvg2-7c3j-g36j — Keycloak vulnerable to reflected XSS via wildcard in OIDC redirect_uri
Références européennes
- ENISA EUVD · EUVD-2023-3189
- GCVE · GCVE-0-2023-6134
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:single_sign-on:*:*:*:*:*:*:*:*< 7.6cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*< 22.0.7cpe:2.3:a:redhat:openshift_container_platform:4.11:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform:4.12:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_power:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_power:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*
Produits affectés
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |