Keycloak: xss on impersonation under specific circumstances (Red Hat Red Hat Single Sign-On 7)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.66 % Β· percentile 52 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A flaw was found in Keycloak. Under specific circumstances, HTML entities are not sanitized during user impersonation, resulting in a Cross-site scripting (XSS) vulnerability.
Weaknesses (CWE)
- CWE-79 β Improper Neutralization of Input During Web Page Generation
References
- https://access.redhat.com/errata/RHSA-2023:1043
- https://access.redhat.com/errata/RHSA-2023:1044
- https://access.redhat.com/errata/RHSA-2023:1045
- https://access.redhat.com/errata/RHSA-2023:1047
- https://access.redhat.com/errata/RHSA-2023:1049
- https://access.redhat.com/security/cve/CVE-2022-1438
- https://bugzilla.redhat.com/show_bug.cgi?id=2031904
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | redhat |
| CVSS 3.1 | MEDIUM 6.4 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | NVD Β· secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N | NVD Β· nvd@nist.gov (Primary) |
Advisories
- GHSA-w354-2f3c-qvg9 β Keycloak vulnerable to Cross-site Scripting
European references
- ENISA EUVD Β· EUVD-2023-1124
- GCVE Β· GCVE-0-2022-1438
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Red Hat Β· Red Hat Single Sign-On 7 | |
| Red Hat Β· Red Hat Single Sign-On 7.6 for RHEL 7 | unaffected 0:18.0.6-1.redhat_00001.1.el7sso < * |
| Red Hat Β· Red Hat Single Sign-On 7.6 for RHEL 8 | unaffected 0:18.0.6-1.redhat_00001.1.el8sso < * |
| Red Hat Β· Red Hat Single Sign-On 7.6 for RHEL 9 | unaffected 0:18.0.6-1.redhat_00001.1.el9sso < * |
| Red Hat Β· RHEL-8 based Middleware Containers | unaffected 7.6-20 < * |
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 |