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.
Remediation
References
https://access.redhat.com/errata/RHSA-2023:1043
https://access.redhat.com/errata/RHSA-2023:1044
https://access.redhat.com/security/cve/CVE-2022-4137
https://bugzilla.redhat.com/show_bug.cgi?id=2148496
https://access.redhat.com/errata/RHSA-2023:1045
https://access.redhat.com/errata/RHSA-2023:1049
Related Vulnerabilities
CVE-2020-1694 Vulnerability in npm package keycloak-connect
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-hikari-dbcp-service
CVE-2023-34459 Vulnerability in npm package @openzeppelin/contracts-upgradeable
CVE-2015-5320 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2020-36320 Vulnerability in maven package com.vaadin:vaadin-server