nday
CVE-2024-8698

Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak

Red Hat / Red Hat Build of Keycloak, Red Hat build of Keycloak 22, Red Hat build of Keycloak 24, Red Hat JBoss Enterprise Application Platform 8, Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9 +5

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans une seule des 4 sources de PoC : nuclei. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

cryptographic failure
CWE-347, stated by the CNA redhat et NVD, republishing [email protected]
network
AV:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L (CVSS 3.1) from the CNA redhat
no user interaction
UI:N in CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L (CVSS 3.1) from the CNA redhat
nuclei
nuclei templates CVE-2024-8698
JBoss EAP
affected products in the CVE record: Red Hat · Red Hat JBoss Enterprise Application Platform 8, Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9
Keycloak
affected products in the CVE record: Red Hat · Red Hat Build of Keycloak, Red Hat · Red Hat Single Sign-On 7, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9, Red Hat · Red Hat build of Keycloak 22, Red Hat · Red Hat build of Keycloak 24
web / application server
affected products in the CVE record: Red Hat · Red Hat JBoss Enterprise Application Platform 8, Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8, Red Hat · Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9the product type of JBoss EAP in nday's product registry
identity / access management
affected products in the CVE record: Red Hat · Red Hat Build of Keycloak, Red Hat · Red Hat Single Sign-On 7, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 7, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 8, Red Hat · Red Hat Single Sign-On 7.6 for RHEL 9, Red Hat · Red Hat build of Keycloak 22, Red Hat · Red Hat build of Keycloak 24the product type of Keycloak in nday's product registry
étape actuelle
POC
divulgation
CVSS
7.7 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2024-09-19T15:48Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
nuclei
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

CVSS 3.1 vector from the CVE record, scored by the CNA redhat.

Journal des événements

+DISdivulgation

Fiche CVE publiée par redhat. CVSS 7.7, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "id": 60177,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-8698",
  "occurred_at": "2024-09-19T15:48:18.464Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L",
      "version": "3.1",
      "base_score": 7.7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2024-09-19T17:28:59.153864Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2024-09-19T15:48:18.464Z",
    "assigner_short_name": "redhat"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Nuclei propose le modèle de détection CVE-2024-8698 (« Keycloak - SAML Core Package Signature Validation Flaw »). La source n’indique pas la date de publication du modèle.

source nuclei · importé en masse par nday le · brut
{
  "id": 56566,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8698.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2024-8698",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8698.yaml",
    "kind": "detection_template",
    "title": "Keycloak - SAML Core Package Signature Validation Flaw",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "7.7",
    "template_id": "CVE-2024-8698",
    "template_path": "http/cves/2024/CVE-2024-8698.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.