CVE-2023-6291
Keycloak: redirect_uri validation bypass
HIGH 7.1
En bref
- Source
- NVD
- EPSS
- EPSS 0.95 % · centile 61 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- redhat
- Statut NVD
- Modified
Description
A flaw was found in the redirect_uri validation logic in Keycloak. This issue may allow a bypass of otherwise explicitly allowed hosts. A successful attack may lead to an access token being stolen, making it possible for the attacker to impersonate other users.
Faiblesses (CWE)
- CWE-601 — Redirection d'URL vers un site non fiable (redirection ouverte)
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-6291
- https://bugzilla.redhat.com/show_bug.cgi?id=2251407
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | redhat |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-mpwq-j3xf-7m5w — The redirect_uri validation logic allows for bypassing explicitly allowed hosts that would otherwise be restricted
Références européennes
- ENISA EUVD · EUVD-2023-3249
- GCVE · GCVE-0-2023-6291
Configurations affectées (CPE NVD)
cpe:2.3:a:redhat:keycloak:*:*:*:*:*:*:*:*< 22.0.7cpe:2.3:a:redhat:single_sign-on:-:*:*:*:text-only:*:*:*cpe: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_ibm_z:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_ibm_z:4.10:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.9:*:*:*:*:*:*:*cpe:2.3:a:redhat:openshift_container_platform_for_linuxone:4.10:*:*:*:*:*:*:*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:single_sign-on:7.6:*:*:*:*:*:*:*cpe:2.3:a:redhat:migration_toolkit_for_applications:6.0:*:*:*:*:*:*:*cpe:2.3:a:redhat:migration_toolkit_for_applications:7.0:*:*:*:*:*:*:*
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 |