We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-9264

Grafana SQL Expressions allow for remote code execution



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.

Reserved 2024-09-26 | Published 2024-10-18 | Updated 2024-11-01 | Assigner GRAFANA


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

CRITICAL: 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Problem types

CWE-94: Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

11.0.0 before 11.0.5
affected

11.1.0 before 11.1.6
affected

11.2.0 before 11.2.1
affected

11.0.0 before 11.0.6
affected

11.1.0 before 11.1.7
affected

11.2.0 before 11.2.2
affected

References

grafana.com/security/security-advisories/cve-2024-9264/

cve.org (CVE-2024-9264)

nvd.nist.gov (CVE-2024-9264)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-9264

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.