CVE-2024-9264
The SQL Expressions experimental feature of Grafana allows for the evaluation of `duckdb` queries containing user input.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 94.9%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
Description
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.
- CVSS 4.0
- 9.4 CRITICALCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/M
- EPSS
- 94.86% probability · 100th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-94, CWE-77
- Affected
- grafana/grafana
- Source
- security@grafana.com
References
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.