Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Not supplied / Not supplied | affected 0 before 25.0.5 |
| Red Hat / Red Hat Build of Keycloak | unaffected |
| Red Hat / Red Hat Build of Keycloak | unaffected |
| Red Hat / Red Hat build of Keycloak 22 | unaffected 22.0.13-1 before * |
| Red Hat / Red Hat build of Keycloak 22 | unaffected 22-18 before * |
| Red Hat / Red Hat build of Keycloak 22 | unaffected 22-21 before * |
| Red Hat / Red Hat build of Keycloak 24 | unaffected 24.0.8-1 before * |
| Red Hat / Red Hat build of Keycloak 24 | unaffected 24-17 before * |
| Red Hat / Red Hat build of Keycloak 24 | unaffected 24-17 before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8 | unaffected |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8 | unaffected |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.33.0-1.redhat_00015.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 1:2.0.0-2.redhat_00005.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.8.0-2.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.2.0-2.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.16.1-2.redhat_00007.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.2.2-28.redhat_2.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.15.1-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.14.0-2.redhat_00006.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:4.0.5-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 1:2.0.0-2.redhat_00005.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.0.1-1.redhat_00002.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:0.1.0-2.redhat_00010.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.12.284-2.redhat_00002.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.2.5-2.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:800.4.0-1.GA_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.1.0-4.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:6.2.31-1.Final_redhat_00002.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:8.0.1-3.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:0.8.1-2.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.1.3-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.0.1-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:1.1.3-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.5.3-1.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:4.0.2-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:5.3.10-1.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.22.1-1.redhat_00002.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:6.0.3-1.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:9.37.3-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:9.6.0-1.redhat_00002.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.3.0-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.0.1-3.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.0.1-2.Final_redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:3.0.4-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:8.0.0-6.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.0.16-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:2.2.0-1.redhat_00001.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | unaffected 0:8.0.4-2.GA_redhat_00005.1.el8eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.33.0-1.redhat_00015.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 1:2.0.0-2.redhat_00005.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.8.0-2.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.2.0-2.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.16.1-2.redhat_00007.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.2.2-28.redhat_2.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.15.1-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.14.0-2.redhat_00006.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:4.0.5-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 1:2.0.0-2.redhat_00005.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.0.1-1.redhat_00002.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:0.1.0-2.redhat_00010.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.12.284-2.redhat_00002.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.2.5-2.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:800.4.0-1.GA_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.1.0-4.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:6.2.31-1.Final_redhat_00002.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:8.0.1-3.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:0.8.1-2.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.1.3-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.0.1-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:1.1.3-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.5.3-1.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:4.0.2-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:5.3.10-1.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.22.1-1.redhat_00002.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:6.0.3-1.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:9.37.3-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:9.6.0-1.redhat_00002.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.3.0-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.0.1-3.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.0.1-2.Final_redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:3.0.4-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:8.0.0-6.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.0.16-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:2.2.0-1.redhat_00001.1.el9eap before * |
| Red Hat / Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | unaffected 0:8.0.4-2.GA_redhat_00005.1.el9eap before * |
| Red Hat / Red Hat Single Sign-On 7 | unaffected |
| Red Hat / Red Hat Single Sign-On 7.6 for RHEL 7 | unaffected 0:18.0.18-1.redhat_00001.1.el7sso before * |
| Red Hat / Red Hat Single Sign-On 7.6 for RHEL 8 | unaffected 0:18.0.18-1.redhat_00001.1.el8sso before * |
| Red Hat / Red Hat Single Sign-On 7.6 for RHEL 9 | unaffected 0:18.0.18-1.redhat_00001.1.el9sso before * |
| Red Hat / RHEL-8 based Middleware Containers | unaffected 7.6-54 before * |
| Red Hat / Red Hat Build of Keycloak | affected |
| Red Hat / Red Hat Single Sign-On 7 | affected |
CWE
CWE-347
References
- https://access.redhat.com/errata/RHSA-2024:6878
- https://access.redhat.com/errata/RHSA-2024:6879
- https://access.redhat.com/errata/RHSA-2024:6880
- https://access.redhat.com/errata/RHSA-2024:6882
- https://access.redhat.com/errata/RHSA-2024:6886
- https://access.redhat.com/errata/RHSA-2024:6887
- https://access.redhat.com/errata/RHSA-2024:6888
- https://access.redhat.com/errata/RHSA-2024:6889
- https://access.redhat.com/errata/RHSA-2024:6890
- https://access.redhat.com/errata/RHSA-2024:8823
- https://access.redhat.com/errata/RHSA-2024:8824
- https://access.redhat.com/errata/RHSA-2024:8826
- https://access.redhat.com/security/cve/CVE-2024-8698
- https://bugzilla.redhat.com/show_bug.cgi?id=2311641
ADP enrichment
No English description supplied.
No references supplied.