Lucene search

K
freebsdFreeBSD955EB3CC-CE0B-11ED-825F-6C3BE5272ACD
HistoryMar 14, 2023 - 12:00 a.m.

Grafana -- Stored XSS in Graphite FunctionDescription tooltip

2023-03-1400:00:00
vuxml.freebsd.org
12
grafana
graphite
stored xss
function description
tooltip
dom
vulnerability
cvssv3.1
medium
unix

6.2 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

26.7%

Grafana Labs reports:

When a user adds a Graphite data source, they can then use the data source
in a dashboard. This capability contains a feature to use Functions. Once
a function is selected, a small tooltip appears when hovering over the name
of the function. This tooltip allows you to delete the selected Function
from your query or show the Function Description. However, no sanitization
is done when adding this description to the DOM.
Since it is not uncommon to connect to public data sources, an attacker
could host a Graphite instance with modified Function Descriptions containing
XSS payloads. When the victim uses it in a query and accidentally hovers
over the Function Description, an attacker-controlled XSS payload
will be executed.
The severity of this vulnerability is of CVSSv3.1 5.7 Medium
(CVSS: AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N (5.7)).

OSVersionArchitecturePackageVersionFilename
FreeBSDanynoarchgrafana< 8.5.22UNKNOWN
FreeBSDanynoarchgrafana8< 8.5.22UNKNOWN
FreeBSDanynoarchgrafana9< 9.2.15UNKNOWN

6.2 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

NONE

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

0.001 Low

EPSS

Percentile

26.7%