Description
It was found that while parsing the SAML messages the StaxParserUtil class of keycloak before 2.5.1 replaces special strings for obtaining attribute values with system property. This could allow an attacker to determine values of system properties at the attacked system by formatting the SAML request ID field to be the chosen system property which could be obtained in the "InResponseTo" field in the response.
Remediation
References
Related Vulnerabilities
WebLogic Deserialization of Untrusted Data Vulnerability (CVE-2020-11112)
Oracle Database Server CVE-2018-3004 Vulnerability (CVE-2018-3004)
WordPress Plugin UserPro-Community and User Profile Cross-Site Scripting (4.9.33)
WordPress Plugin WPCOM Member Malicious Code (1.3.16)
OpenSSL Inefficient Regular Expression Complexity Vulnerability (CVE-2023-3446)