nday
CVE-2024-9264

Grafana SQL Expressions allow for remote code execution

Grafana / Grafana

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 2 個收錄:metasploit 與 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.

command injection
CWE-77, stated by NVD's analysts
code injection
CWE-94, stated by the CNA GRAFANA 與 NVD, republishing [email protected]
network
AV:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (CVSS 4.0) from the CNA GRAFANA
no user interaction
UI:N in CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (CVSS 4.0) from the CNA GRAFANA
Metasploit
Metasploit modules exploit/multi/http/grafana_sql_expressions_rce_cve_2024_9264
nuclei
nuclei templates CVE-2024-9264
Grafana
affected products in the CVE record: Grafana · GrafanaCPE names NVD's analysts give as vulnerable: a:grafana:grafana
monitoring / logging / IT management
affected products in the CVE record: Grafana · GrafanaCPE names NVD's analysts give as vulnerable: a:grafana:grafanathe product type of Grafana in nday's product registry
目前階段
POC
揭露時間
CVSS
9.4 CRITICAL v4.0

生命週期

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

摘要

The SQL Expressions experimental feature of Grafana allows for the evaluation of duckdb queries containing user input. These queries are insufficiently sanitized before being passed to duckdb, leading to a command injection and local file inclusion vulnerability. Any user with the VIEWER or higher permission is capable of executing this attack. The duckdb binary must be present in Grafana's $PATH for this attack to function; by default, this binary is not installed in Grafana distributions.

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:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 4.0 vector from the CVE record, scored by the CNA GRAFANA.

事件紀錄

+DIS揭露

CVE 紀錄由 GRAFANA 發布。CVSS 9.4,屬重大等級。CISA 的 SSVC 評估將利用狀態判定為 poc。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 60197,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2024-9264",
  "occurred_at": "2024-10-18T03:20:52.489Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H",
      "version": "4.0",
      "base_score": 9.4,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2024-11-01T03:55:22.563345Z",
      "automatable": "no",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2024-10-18T03:20:52.489Z",
    "assigner_short_name": "GRAFANA"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/multi/http/grafana_sql_expressions_rce_cve_2024_9264(Grafana SQL Expressions DuckDB Command Injection)。來源未提供模組的釋出時間。

來源 metasploit exploit/multi/http/grafana_sql_expressions_rce_cve_2024_9264 · nday 於 批次匯入 · 原始
{
  "id": 51201,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/grafana_sql_expressions_rce_cve_2024_9264.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/grafana_sql_expressions_rce_cve_2024_9264",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/grafana_sql_expressions_rce_cve_2024_9264.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/grafana_sql_expressions_rce_cve_2024_9264.rb",
    "rank": 600,
    "check": true,
    "title": "Grafana SQL Expressions DuckDB Command Injection",
    "cve_ids": [
      "CVE-2024-9264"
    ],
    "fullname": "exploit/multi/http/grafana_sql_expressions_rce_cve_2024_9264",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-10-14 12:06:46 +0000",
    "vuln_disclosure_date": "2024-10-17"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Nuclei 已有偵測範本 CVE-2024-9264(Grafana Post-Auth DuckDB - SQL Injection To File Read)。來源未提供範本的釋出時間。

來源 nuclei · nday 於 批次匯入 · 原始
{
  "id": 56585,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9264.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2024-9264",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9264.yaml",
    "kind": "detection_template",
    "title": "Grafana Post-Auth DuckDB - SQL Injection To File Read",
    "severity": "critical",
    "confidence": "curated",
    "cvss_score": "9.9",
    "template_id": "CVE-2024-9264",
    "template_path": "http/cves/2024/CVE-2024-9264.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.