Red Hat Build of Keycloak: Improper Verification of Cryptographic Signature
CVE-2024-8698 is a high-severity improper verification of cryptographic signature vulnerability in Red Hat Build of Keycloak from Red Hat, with a CVSS 3.1 base score of 7.7 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 2.03% chance of exploitation within 30 days, higher than 81% of scored CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Red Hat Build of Keycloak you run against the affected versions below, and install the vendor's latest release.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Red Hat Build of Keycloak | Not specified in the record | Not stated |
| Red Hat | Red Hat build of Keycloak 22 | Not specified in the record | Not stated |
| Red Hat | Red Hat build of Keycloak 24 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 | Not specified in the record | Not stated |
| Red Hat | Red Hat Single Sign-On 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 7 | Not specified in the record | Not stated |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 8 | Not specified in the record | Not stated |
| Red Hat | Red Hat Single Sign-On 7.6 for RHEL 9 | Not specified in the record | Not stated |
| Red Hat | RHEL-8 based Middleware Containers | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- LowA basic user account is enough.
- User interaction
- NoneNo action by a victim is required.
- Scope
- ChangedThe attack can reach beyond the vulnerable component into other systems.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- LowLimited modification of data is possible.
- Availability
- LowPerformance or availability is reduced.
Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L. Scored by CNA (redhat.com).
Official 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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Verification of Cryptographic Signature
The product does not verify, or incorrectly verifies, the cryptographic signature for data.
More Improper Verification of Cryptographic Signature vulnerabilities (CWE-347)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
- Record last changed materially (score, affected products, status or references).
References
Other references
- access.redhat.com/errata/RHSA-2024:6878
- access.redhat.com/errata/RHSA-2024:6879
- access.redhat.com/errata/RHSA-2024:6880
- access.redhat.com/errata/RHSA-2024:6882
- access.redhat.com/errata/RHSA-2024:6886
- access.redhat.com/errata/RHSA-2024:6887
- access.redhat.com/errata/RHSA-2024:6888
- access.redhat.com/errata/RHSA-2024:6889
- access.redhat.com/errata/RHSA-2024:6890
- access.redhat.com/errata/RHSA-2024:8823
- access.redhat.com/errata/RHSA-2024:8824
- access.redhat.com/errata/RHSA-2024:8826
- access.redhat.com/security/cve/CVE-2024-8698
- bugzilla.redhat.com/show_bug.cgi?id=2311641
Other vulnerabilities in Red Hat Build of Keycloak
- 9.1 Critical severity
- 7.7 High severity
- 7.5 High severity
- 7.5 High severity
- 7.4 High severity
- 7.4 High severity
Recent Improper Verification of Cryptographic Signature vulnerabilities
- 7.8 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 7.8 High severity
- 7.5 High severity
- 7.2 High severity
Spotted an error? Tell us.