8.1
HIGH
CVE-2022-4137
Keycloak OAuth Reflected Cross-Site Scripting
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.

INFO

Published Date :

Sept. 25, 2023, 8:15 p.m.

Last Modified :

Nov. 7, 2023, 3:57 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.2

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2022-4137 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat keycloak
2 Redhat single_sign-on
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-4137.

URL Resource
https://access.redhat.com/errata/RHSA-2023:1043 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:1044 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:1045 Vendor Advisory
https://access.redhat.com/errata/RHSA-2023:1049 Vendor Advisory
https://access.redhat.com/security/cve/CVE-2022-4137 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2148496 Issue Tracking Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-4137 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-4137 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added CWE Red Hat, Inc. CWE-81
  • Initial Analysis by [email protected]

    Sep. 29, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:1043 No Types Assigned https://access.redhat.com/errata/RHSA-2023:1043 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:1044 No Types Assigned https://access.redhat.com/errata/RHSA-2023:1044 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:1045 No Types Assigned https://access.redhat.com/errata/RHSA-2023:1045 Vendor Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2023:1049 No Types Assigned https://access.redhat.com/errata/RHSA-2023:1049 Vendor Advisory
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2022-4137 No Types Assigned https://access.redhat.com/security/cve/CVE-2022-4137 Vendor Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2148496 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2148496 Issue Tracking, Vendor Advisory
    Added CWE NIST CWE-79
    Added CPE Configuration OR *cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:a:redhat:single_sign-on:7.6:*:*:*:*:*:*:* OR cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-4137 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.14 }} 0.01%

score

0.50685

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability