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

Fecha de divulgación: . nday aún no tiene constancia de una corrección; eso no significa que no exista parche. La recoge 1 de las 4 fuentes de PoC: nuclei. No figura en el KEV de CISA.

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 y 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
etapa
POC
divulgación
cvss
7.7 HIGH v3.1

Ciclo de vida

Eje x en UTC; punto = minuto exacto, barra ancha = solo fecha, hueco = desconocida o inferida.
fecha desconocida
DISdivulgada
2024-09-19T15:48Z
PATparcheada
sin registro aún
ANAanalizada
sin registro aún
POCPoC
nuclei
ITWexplotada
sin registro aún
KEVen KEV
sin registro aún

Descripción

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.

Registro de eventos

+DISdivulgación

redhat publicó el registro CVE. CVSS 7.7, severidad alta.

fuente cvelist · nday , importación masiva · en bruto
{
  "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"
  }
}
se desconocela fuente no indica fecha
+POCPoC pública

Nuclei tiene la plantilla de detección CVE-2024-8698 (Keycloak - SAML Core Package Signature Validation Flaw). La fuente no indica cuándo se publicó la plantilla.

fuente nuclei · nday , importación masiva · en bruto
{
  "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.

Debate de investigadores

0 investigadores lo mencionaron en los últimos 7 días

Publicaciones en X de investigadores de la lista de nday que mencionan este CVE, tal como se publicaron. nday no las verifica.

nday aún no ha recopilado publicaciones en X de investigadores de su lista sobre este CVE.

Discussion

0 comments

No comments yet.