Sploitus

Exploit for Path Traversal in Grafana

githubexploit Β· 2024-03-04

Exploit Code

README16 lines
## https://sploitus.com/exploit?id=3CFA8BA2-0977-5C13-8373-6E0A1C4383CC
# CVE-2021-43798 - Grafana Directory Traversal πŸ”

Grafana is an open-source platform for monitoring and observability. Versions 8.0.0-beta1 through 8.3.0 (except for patched versions) are vulnerable to a directory traversal attack, allowing unauthorized access to local files. This vulnerability does not affect Grafana Cloud. The vulnerability exists in the handling of the URL path `/public/plugins//`. By manipulating the `` parameter, an attacker can traverse directories and access files outside the intended directory.

## Impact πŸ’₯

An attacker could exploit this vulnerability to access sensitive files on the host system, potentially leading to further compromise of the Grafana instance or the host system itself.

## Affected Versions ❗️

Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) are affected by this vulnerability.

# Disclaimer 🚨 

This exploit is intended for educational purposes only. Misuse of this exploit or any information related to it is not condoned and is the sole responsibility of the user.