CVE-2024-8698
highpriority · track · 11EPSS 0.020 · 81 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-23
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- huydoppaz/CVE-2024-8698-POCi'm noob with saml and keycloak . J4fPoC · poc_in_github
affected products (99)
Products and version ranges known to be affected.
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:0.1.0-2.redhat_00010.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:0.8.1-2.redhat_00001.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:1.1.3-1.redhat_00001.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:1.12.284-2.redhat_00002.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:1.16.1-2.redhat_00007.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:1.2.5-2.redhat_00001.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:1.8.0-2.redhat_00001.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:2.0.1-1.redhat_00002.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:2.0.1-3.Final_redhat_00001.1.el8eapenisa_euvdEU
- Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8< 0:2.0.16-1.redhat_00001.1.el8eapenisa_euvdEU
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-2190Red Hat Single Sign On und Keycloak: Mehrere Schwachstellen ermöglicht PrivilegieneskalationDeutsch2024-09-19csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Red Hat Single Sign On und Keycloak ausnutzen, um seine Privilegien zu erhöhen und um falsche Informationen darzustellen.
- GHSA-xgfv-xpx8-qhcrImproper Verification of SAML Responses Leading to Privilege Escalation in Keycloak2024-10-14ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (43)
External citations — patches, advisories, analysis.
- https://access.redhat.com/errata/RHSA-2024:6878cnnvd
- https://access.redhat.com/errata/RHSA-2024:6879cnnvd
- https://access.redhat.com/errata/RHSA-2024:6880cnnvd
- https://access.redhat.com/errata/RHSA-2024:6882cnnvd
- https://access.redhat.com/errata/RHSA-2024:6886cnnvd
- https://access.redhat.com/errata/RHSA-2024:6887cnnvd
- https://access.redhat.com/errata/RHSA-2024:6888cnnvd
- https://access.redhat.com/errata/RHSA-2024:6889cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan