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-2012-5886 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-42130 Vulnerability in maven package com.liferay:com.liferay.dynamic.data.mapping.service
CVE-2022-45146 Vulnerability in maven package org.bouncycastle:bc-fips
CVE-2012-5886 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2023-37899 Vulnerability in npm package @feathersjs/socketio