QID 150439

Date Published: 2021-12-09

QID 150439: Grafana Path Traversal Vulnerability (CVE-2021-43798)

Grafana is a multi-platform open source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources.

Affected versions of Grafana is vulnerable to a path traversal attack, allowing remote attackers to read arbitrary files from the vulnerable server.

Affected Versions:
Grafana versions from v8.0.0-beta1 to v8.3.0

QID Detection Logic (Unauthenticated) :
This QID sends an HTTP GET request with path traversal payload to access passwd or grafana.ini local files from the server and based on the response confirms if the Grafana server is vulnerable.

Successful exploitation of the vulnerability may allow remote attackers to read sensitive files on the target server.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to upgrade to Grafana version 8.3.1, 8.2.7, 8.1.8, 8.0.7 or later to remediate this vulnerability. For more information please refer to Grafana Blog
    Vendor References

    CVEs related to QID 150439

    Software Advisories
    Advisory ID Software Component Link
    GHSA-8pjx-jj86-j47p URL Logo github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p