#VU58647 Path traversal in Grafana - CVE-2021-43798


| Updated: 2025-02-21

Vulnerability identifier: #VU58647

Vulnerability risk: High

CVSSv4.0: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:A/U:Amber]

CVE-ID: CVE-2021-43798

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Grafana
Web applications / Other software

Vendor: Grafana Labs

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences, passed after the "/public/plugins/" URL. A remote non-authenticated attacker can send a specially crafted HTTP request and read arbitrary files on the system.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Grafana: 8.0.0 - 8.0.6, 8.1.0 - 8.1.7, 8.2.0 - 8.2.6, 8.3.0


External links
https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce


Q & A

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?


Latest bulletins with this vulnerability