Vulnerability identifier: #VU28223
Vulnerability risk: Low
CVSSv4.0: 1.2 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Clear]
CVE-ID: CVE-2020-13430
CWE-ID:
CWE-79
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Grafana
Web applications /
Other software
Vendor: Grafana Labs
Description
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the OpenTSDB datasource. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
Mitigation
Install update from vendor's website.
Vulnerable software versions
Grafana: 1.0 - 1.0.4, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0 - 1.5.4, 1.6.0 - 1.6.1, 1.7.0 rc1 - 1.7.0, 1.8.0 rc1 - 1.8.1, 1.9.0 rc1 - 1.9.1, 2.0.0 beta1 - 2.0.2, 2.1.0 - 2.1.3, 2.5.0, 2.6.0 beta1 - 2.6.0, 3.0 beta1 - 3.0.4, 3.1.0 beta1 - 3.1.1, 4.0.0 beta1 - 4.0.2, 4.1.0 beta1 - 4.1.2, 4.2.0 beta1 - 4.2.0, 4.3.0 beta1 - 4.3.2, 4.4.0 - 4.4.3, 4.5.0 beta1 - 4.5.2, 4.6.0 beta1 - 4.6.5, 5.0.0 beta1 - 5.0.4, 5.1.0 beta1 - 5.1.5, 5.2.0 beta1 - 5.2.5, 5.3.0 beta1 - 5.3.4, 5.4.0 - 5.4.5, 6.0.0 - 6.0.2, 6.1.0 - 6.1.6, 6.2.0 - 6.2.5, 6.3.0 - 6.3.7, 6.4.0 - 6.4.5, 6.5 - 6.5.3, 6.6.0 - 6.6.2, 6.7.0 - 6.7.3
External links
https://github.com/grafana/grafana/pull/24539
https://github.com/grafana/grafana/releases/tag/v7.0.0
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.