CVE-2022-4137
Keycloak: reflected xss attack
- State
- Published
- Severity
- 8.1 High
- Published
- Sep 25, 2023
- Updated
- Aug 3, 2024
- Reserved
- Nov 24, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | redhat |
Weaknesses
- CWE-81 Improper Neutralization of Script in an Error Message Web Page
Affected Products
| Product | Versions |
|---|---|
Red Hat Single Sign-On 7Red Hat | |
Red Hat Single Sign-On 7.6 for RHEL 7Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 8Red Hat |
|
Red Hat Single Sign-On 7.6 for RHEL 9Red Hat |
|
References
- RHSA-2023:1043vendor-advisory
- RHSA-2023:1044vendor-advisory
- RHSA-2023:1045vendor-advisory
- RHSA-2023:1049vendor-advisory
- https://access.redhat.com/security/cve/CVE-2022-4137vdb-entry
- RHBZ#2148496issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.