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/errata/RHSA-2023:1045
https://access.redhat.com/errata/RHSA-2023:1049
https://access.redhat.com/security/cve/CVE-2022-4137
https://bugzilla.redhat.com/show_bug.cgi?id=2148496
Related Vulnerabilities
CVE-2021-21351 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-27850 Vulnerability in maven package org.apache.tapestry:tapestry-core
CVE-2014-3682 Vulnerability in maven package org.jbpm:jbpm-designer-backend
CVE-2013-6429 Vulnerability in maven package org.springframework:spring-web
CVE-2021-20218 Vulnerability in maven package io.fabric8:kubernetes-client