Path traversal in Grafana - CVE-2022-32275

 

Path traversal in Grafana - CVE-2022-32275

Published: June 15, 2022 / Updated: September 3, 2022


Vulnerability identifier: #VU64400
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-32275
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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

The vulnerability exists due to input validation error when processing directory traversal sequences. A remote user can send a specially crafted HTTP request and read arbitrary files on the system.

Exploitation example:
/dashboard/snapshot/%7B%7Bconstructor.constructor'/.. /.. /.. /.. /.. /.. /.. /.. /etc/passwd


Affected software

Grafana
IBM Watson Machine Learning Accelerator
ObjectScale

How to mitigate CVE-2022-32275

Install update from vendor's website.

Grafana - update to 8.4.5
IBM Watson Machine Learning Accelerator - update to 3.0.0
ObjectScale - update to 1.4.0

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins