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-2011-1419 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-39202 Vulnerability in npm package matrix-appservice-irc
CVE-2022-23437 Vulnerability in maven package xerces:xercesimpl
CVE-2014-3652 Vulnerability in maven package org.keycloak:keycloak-services
CVE-2023-25194 Vulnerability in maven package org.apache.kafka:kafka-clients