QID 150857
Date Published: 2024-04-08
QID 150857: Grafana Authorization Bypass Vulnerability (CVE-2024-1313)
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,It is possible for a user in a different organization from the owner of a snapshot to bypass authorization and delete a snapshot by issuing a DELETE request to /api/snapshots/ using its view key. This functionality is intended to only be available to individuals with the permission to write/edit to the snapshot in question, but due to a bug in the authorization logic, deletion requests issued by an unprivileged user in a different organization than the snapshot owner are treated as authorized.
Affected Versions:
Grafana from 9.5.0 before 9.5.18
Grafana from 10.0.0 before 10.0.13
Grafana from 10.1.0 before 10.1.9
Grafana from 10.2.0 before 10.2.6
Grafana from 10.3.0 before 10.3.5
QID Detection Logic :
This QID sends a HTTP GET request to '/login' or '/api/health' endpoint to retrieve vulnerable version of Grafana running on the target application.
Successful exploitation of this vulnerability may allow a user in a different organization from the owner of a snapshot to bypass authorization and delete a snapshot by issuing a DELETE request to /api/snapshots/ using its view key.
CVEs related to QID 150857
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| Grafana |
|