High severity · published Sep 19, 2024
CVE-2024-8698
Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak
7.7
CVSS
2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
Attack vector
Network
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
Low
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RB
RHEL-8 based Middleware Containers · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Build of Keycloak · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 7 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 8 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat Single Sign-On 7.6 for RHEL 9 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 22 · Red Hat
All versions, or not specified · source: vendor
RH
Red Hat build of Keycloak 24 · Red Hat
All versions, or not specified · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-8698
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-8698
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6878
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6879
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6880
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6882
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6886
access.redhat.com
https://access.redhat.com/errata/RHSA-2024:6887
More from Red Hat Build of Keycloak
9.8
CVE-2026-42581
Netty: HTTP/1.0 TE+CL Coexistence Bypasses Smuggling Sanitization
9.8
CVE-2026-33228
flatted: Prototype Pollution via parse()
9.1
CVE-2026-42584
Netty: HttpClientCodec response desynchronization
9.1
CVE-2026-42579
Netty: DNS Codec Input Validation Bypass in Netty (Encoder + Decoder)
8.2
CVE-2026-93569
Io.netty/netty-codec-http2: http/1 absolute-form host mismatch is translated to http/2 :authority, overriding the request-target authority
