CVE-2023-0507
March 01, 2023
Grafana is an open-source platform for monitoring and observability.
Starting with the 8.1 branch, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap.
The stored XSS vulnerability was possible due to map attributions weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance.
An attacker needs to have the Editor role in order to change a panel to include a map attribution containing JavaScript.
This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard.
Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.
Affected Packages
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v9.3.0 <v9.3.8Fix Suggestion:
Update to version v9.3.8https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v9.0.0 <v9.2.13Fix Suggestion:
Update to version v9.2.13https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v8.1.0 <v8.5.21Fix Suggestion:
Update to version v8.5.21github.com/grafana/grafana (GO):
Affected version(s) >=v8.1.0 <v8.5.21Fix Suggestion:
Update to version v8.5.21github.com/grafana/grafana (GO):
Affected version(s) >=v9.3.0 <v9.3.8Fix Suggestion:
Update to version v9.3.8github.com/grafana/grafana (GO):
Affected version(s) >=v9.0.0 <v9.2.13Fix Suggestion:
Update to version v9.2.13Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.5
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
63.51