QID 150645

Date Published: 2023-02-10

QID 150645: Grafana Spoofing originalUrl of snapshots Vulnerability (CVE-2022-39324)

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.

In installed version of Grafana, a malicious user could exploit this vulnerability by creating a snapshot and editing the query to choose the originalUrl parameter. As a result, when another user opens the snapshot URL, they are presented with the Grafana server's regular web interface, but the Open original dashboard button points to an attacker-injected URL, instead of the real original dashboard.

Affected Versions:
Grafana prior to versions 8.5.16 and 9.2.8

QID Detection Logic :
This QID sends an HTTP GET request and retrieves a vulnerable version of a Grafana running on the target application.

Successful exploitation could allow an attacker to execute arbitrary JavaScript code in the context of the interface or allow the attacker to access sensitive, browser-based information.

  • CVSS V3 rated as Medium - 3.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Customers are advised to upgrade to Grafana to later version to remediate this vulnerability. For more information regarding this vulnerability please refer Github Advisory.

    CVEs related to QID 150645

    Software Advisories
    Advisory ID Software Component Link
    Grafana URL Logo grafana.com/blog/2023/01/25/grafana-security-releases-new-versions-with-fixes-for-cve-2022-23552-cve-2022-41912-and-cve-2022-39324/