CVE-2024-8698 – org.keycloak:keycloak-saml-core
Package
Manager: maven
Name: org.keycloak:keycloak-saml-core
Vulnerable Version: >=0 <22.0.13 || >=23.0.0 <24.0.8 || >=25.0.0 <25.0.6
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L
EPSS: 0.7958 pctl0.99056
Details
Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.
Metadata
Created: 2024-10-14T20:54:52Z
Modified: 2024-12-20T17:48:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-xgfv-xpx8-qhcr/GHSA-xgfv-xpx8-qhcr.json
CWE IDs: ["CWE-347"]
Alternative ID: GHSA-xgfv-xpx8-qhcr
Finding: F204
Auto approve: 1