Skip to main content
EPSS 2.0%top 20%

CVE-2024-8698: Improper Verification of Cryptographic Signature

0
High
VulnerabilityCVE-2024-8698cvecve-2024-8698
Published: 09/19/2024 (09/19/2024, 15:48:18 UTC)
Source: CVE Database V5

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 v3.1

Score 7.7high

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/04/2026, 13:12:14 UTC

Technical Analysis

The vulnerability CVE-2024-8698 affects the SAML signature validation method in the Keycloak XMLSignatureUtil class. The method incorrectly uses the signature's position in the XML document to decide if the signature covers the entire document or only specific assertions, instead of relying on the Reference element that specifies the signed element. This logic flaw allows attackers to create specially crafted SAML responses that can bypass signature validation, enabling privilege escalation or impersonation attacks. Red Hat has issued security advisories and updated Red Hat Single Sign-On 7.6.11 packages for RHEL 7 and RHEL 8 to fix this issue.

Potential Impact

Successful exploitation of this vulnerability can lead to privilege escalation or impersonation by bypassing SAML signature validation. This compromises the authentication and authorization mechanisms of affected Red Hat Single Sign-On deployments based on Keycloak, potentially allowing unauthorized access to protected resources.

Mitigation Recommendations

Red Hat has released updated Red Hat Single Sign-On 7.6.11 packages for RHEL 7 and RHEL 8 that fix this vulnerability. Users should apply these official security updates to remediate the issue. Before applying the update, ensure all previously released errata relevant to the system have been applied. Refer to Red Hat's official advisories and update instructions for detailed guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2024-09-11T12:55:53.092Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2024:6878","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6879","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6880","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6882","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6886","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6887","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6888","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6889","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:6890","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:8823","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:8824","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2024:8826","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2024-8698","vendor":"Red Hat"}]

Threat ID: 691356bfb36faa5b6c09d27f

Added to database: 11/11/2025, 15:31:11 UTC

Last enriched: 08/04/2026, 13:12:14 UTC

Last updated: 09/10/2026, 19:36:49 UTC

Views: 248

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses