Improper Verification of Cryptographic Signature Affecting rh-sso7-keycloak-server package, versions <0:18.0.18-1.redhat_00001.1.el7sso


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.07% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-RHSSO7KEYCLOAKSERVER-8065735
  • published20 Sept 2024
  • disclosed19 Sept 2024

Introduced: 19 Sep 2024

CVE-2024-8698  (opens in a new tab)
CWE-347  (opens in a new tab)

How to fix?

Upgrade RHEL:7 rh-sso7-keycloak-server to version 0:18.0.18-1.redhat_00001.1.el7sso or higher.
This issue was patched in RHSA-2024:6878.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rh-sso7-keycloak-server package and not the rh-sso7-keycloak-server package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 Scores

version 3.1