CVE-2024-9264
October 18, 2024
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.
Affected Packages
github.com/grafana/grafana (GO):
Affected version(s) >=v11.2.0 <v11.2.2+security-01Fix Suggestion:
Update to version v11.2.2+security-01github.com/grafana/grafana (GO):
Affected version(s) >=v11.1.0 <v11.1.7+security-01Fix Suggestion:
Update to version v11.1.7+security-01github.com/grafana/grafana (GO):
Affected version(s) >=v11.0.0 <v11.0.6+security-01Fix Suggestion:
Update to version v11.0.6+security-01Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
94.05