Grafana up to 11.2.1 SQL Expressions Experimental Feature PATH code injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
8.2$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Grafana up to 11.2.1. The affected element is an unknown function of the component SQL Expressions Experimental Feature. Performing a manipulation of the argument PATH results in code injection. This vulnerability is cataloged as CVE-2024-9264. It is possible to initiate the attack remotely. Furthermore, there is an exploit available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Grafana up to 11.2.1. It has been classified as critical. This affects an unknown functionality of the component SQL Expressions Experimental Feature. The manipulation of the argument PATH with an unknown input leads to a code injection vulnerability. CWE is classifying the issue as CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The advisory is shared at grafana.com. This vulnerability is uniquely identified as CVE-2024-9264 since 09/26/2024. The exploitability is told to be easy. It is possible to initiate the attack remotely. Additional levels of successful authentication are needed for exploitation. Technical details and a public exploit are known. MITRE ATT&CK project uses the attack technique T1059 for this issue.

A public exploit has been developed by Nol in Python. The exploit is shared for download at github.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 210390 (SUSE SLES15 / openSUSE 15 Security Update : govulncheck-vulndb (SUSE-SU-2024:3911-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 11.0.5, 11.0.6, 11.1.6, 11.1.7, 11.2.1 or 11.2.2 eliminates this vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (210390). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 8.6
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.2
VulDB Temp Score: 6.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.8
NVD Vector: 🔍

CNA Base Score: 9.9
CNA Vector (GRAFANA): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Code injection
CWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Nol
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 210390
Nessus Name: SUSE SLES15 / openSUSE 15 Security Update : govulncheck-vulndb (SUSE-SU-2024:3911-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Upgrade: Grafana 11.0.5/11.0.6/11.1.6/11.1.7/11.2.1/11.2.2

Timelineinfo

09/26/2024 🔍
10/18/2024 +22 days 🔍
10/18/2024 +0 days 🔍
10/19/2024 +0 days 🔍
11/06/2024 +19 days 🔍

Sourcesinfo

Advisory: grafana.com
Status: Confirmed

CVE: CVE-2024-9264 (🔍)
GCVE (CVE): GCVE-0-2024-9264
GCVE (VulDB): GCVE-100-280869
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 10/18/2024 06:41
Updated: 11/06/2024 23:58
Changes: 10/18/2024 06:41 (76), 10/21/2024 14:17 (7), 10/24/2024 17:08 (7), 11/02/2024 06:54 (11), 11/06/2024 23:58 (2)
Complete: 🔍
Committer: misc
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!