Keycloak: reflected xss attack (Red Hat Red Hat Single Sign-On 7)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.19 % · percentile 68 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
Description
A reflected cross-site scripting (XSS) vulnerability was found in the 'oob' OAuth endpoint due to incorrect null-byte handling. This issue allows a malicious link to insert an arbitrary URI into a Keycloak error page. This flaw requires a user or administrator to interact with a link in order to be vulnerable. This may compromise user details, allowing it to be changed or collected by an attacker.
Weaknesses (CWE)
- CWE-81 — Improper Neutralization of Script in an Error Message Web Page
- CWE-79 — Improper Neutralization of Input During Web Page Generation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | NVD · secalert@redhat.com (Secondary) |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-9hhc-pj4w-w5rv — Keycloak Cross-site Scripting on OpenID connect login service
European references
- ENISA EUVD · EUVD-2023-0968
- GCVE · GCVE-0-2022-4137
Affected configurations (NVD CPE)
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:*
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 < * |
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 |