CVE-2024-8698

Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak

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.

Remediation

Workaround:

  • Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Category

7.7
CVSS
Severity: High
CVSS 3.1 •
EPSS 76.17% Top 5%
Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com Vendor Advisory redhat.com
Affected: Red Hat Red Hat Build of Keycloak
Affected: Red Hat Red Hat Build of Keycloak
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 22
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat build of Keycloak 24
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Affected: Red Hat Red Hat Single Sign-On 7
Affected: Red Hat Red Hat Single Sign-On 7.6 for RHEL 7
Affected: Red Hat Red Hat Single Sign-On 7.6 for RHEL 8
Affected: Red Hat Red Hat Single Sign-On 7.6 for RHEL 9
Affected: Red Hat RHEL-8 based Middleware Containers
Affected: Red Hat Red Hat Build of Keycloak
Affected: Red Hat Red Hat Single Sign-On 7
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-8698?
CVE-2024-8698 has been scored as a high severity vulnerability.
How to fix CVE-2024-8698?
As a workaround for remediating CVE-2024-8698: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Is CVE-2024-8698 being actively exploited in the wild?
It is possible that CVE-2024-8698 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~76% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-8698?
CVE-2024-8698 affects Red Hat Red Hat Build of Keycloak, Red Hat Red Hat Build of Keycloak, Red Hat Red Hat build of Keycloak 22, Red Hat Red Hat build of Keycloak 22, Red Hat Red Hat build of Keycloak 22, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat build of Keycloak 24, Red Hat Red Hat JBoss Enterprise Application Platform 8, Red Hat Red Hat JBoss Enterprise Application Platform 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9, Red Hat Red Hat Single Sign-On 7, Red Hat Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat Red Hat Single Sign-On 7.6 for RHEL 9, Red Hat RHEL-8 based Middleware Containers, Red Hat Red Hat Build of Keycloak, Red Hat Red Hat Single Sign-On 7.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.