Security mailing lists by PureSourceCode

CVE-2024-8698

HIGH 7.7CVSS 3.1

Improper Verification of SAML Responses Leading to Privilege Escalation in Keycloak

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
19 Sep 2024
Last modified
10 Sep 2026
Assigned by
secalert@redhat.com
NVD status
Deferred
Weakness
CWE-347
Also known as
GHSA-xgfv-xpx8-qhcr
Sources
NVDJSONOSV GHSA-xgfv-xpx8-qhcrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.7 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Maven org.keycloak:keycloak-saml-core < 22.0.13 22.0.13
OSV Maven org.keycloak:keycloak-saml-core >= 23.0.0, < 24.0.8 24.0.8
OSV Maven org.keycloak:keycloak-saml-core >= 25.0.0, < 25.0.6 25.0.6

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Sep 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 14 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.