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

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:Nredhat

Weaknesses

  • CWE-81 Improper Neutralization of Script in an Error Message Web Page

Affected Products

ProductVersions
Red Hat Single Sign-On 7Red Hat
    Red Hat Single Sign-On 7.6 for RHEL 7Red Hat
    • 0:18.0.6-1.redhat_00001.1.el7sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 8Red Hat
    • 0:18.0.6-1.redhat_00001.1.el8sso and laterNot affected
    Red Hat Single Sign-On 7.6 for RHEL 9Red Hat
    • 0:18.0.6-1.redhat_00001.1.el9sso and laterNot affected

    References

    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.