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

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 1 個收錄:nuclei。目前未列入 CISA KEV。

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 與 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
目前階段
POC
揭露時間
CVSS
7.7 HIGH v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2024-09-19T15:48Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
nuclei
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

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.

事件紀錄

+DIS揭露

CVE 紀錄由 redhat 發布。CVSS 7.7,屬高風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "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"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 CVE-2024-8698(Keycloak - SAML Core Package Signature Validation Flaw)。來源未提供範本的釋出時間。

來源 nuclei · nday 於 批次匯入 · 原始
{
  "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.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.