nday
CVE-2024-9264

Grafana SQL Expressions allow for remote code execution

Grafana / Grafana

に公開されました。nday はまだ修正の根拠を取得していません。修正がないという意味ではありません。PoC ソース 4 件中 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公開

GRAFANA が CVE レコードを公開。CVSS 基本値 9.4(緊急)。CISA の SSVC 評価では悪用状況(Exploitation)が 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"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

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"
  }
}
日時不明ソースに時刻なし
+POCPoC 公開

nuclei-templates が検知テンプレート 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.