Path traversal in Loki - CVE-2021-36156

 

Path traversal in Loki - CVE-2021-36156

Published: June 15, 2022


Vulnerability identifier: #VU64412
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-36156
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Loki
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 header value X-Scope-OrgID is used to construct file paths for rules files. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.


Remediation

Install update from vendor's website.

External links