p PatchFirst

CVE-2024-8698

CVE-2024-8698 · Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak

CVSS 7.7 · High · EPSS 2.2% · Public exploit

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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.

Published
Updated

Fixes in distributions

  • RHSA-2024:8823 · Red Hat jboss enterprise application platform 8.0 el8 ·
  • RHSA-2024:8824 · Red Hat jboss enterprise application platform 8.0 el9 ·
  • RHSA-2024:6880 · Red Hat red hat single sign on 7.6 el9 ·
  • RHSA-2024:6879 · Red Hat red hat single sign on 7.6 el8 ·
  • RHSA-2024:6878 · Red Hat red hat single sign on 7.6 el7 ·

Affected products and versions

Original sources

Check your server →