#VU58647 Path traversal in Grafana


Published: 2021-12-08 | Updated: 2023-09-04

Vulnerability identifier: #VU58647

Vulnerability risk: High

CVSSv3.1: 7.2 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H/RL:O/RC:C]

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.2.0 - 8.2.6, 8.3.0, 8.1.0 - 8.1.7, 8.0.0 - 8.0.6


External links
http://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
http://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?

Yes. This vulnerability is being exploited in the wild.


Latest bulletins with this vulnerability