Grafana is an open source data visualization platform. In affected versions unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths: /dashboard/snapshot/:key, or /api/snapshots/:key. If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path: /api/snapshots-delete/:deleteKey. Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths: /api/snapshots/:key, or /api/snapshots-delete/:deleteKey. The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss. This issue has been resolved in versions 8.1.6 and 7.5.11. If for some reason you cannot upgrade you can use a reverse proxy or similar to block access to the literal paths: /api/snapshots/:key, /api/snapshots-delete/:deleteKey, /dashboard/snapshot/:key, and /api/snapshots/:key. They have no normal function and can be disabled without side effects.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade grafana | May 4, 2022 | Oct 5, 2021 |
| Centos_linux | — | Upgrade grafana-debuginfoUpgrade grafana | Oct 14, 2021 | Oct 12, 2021 |
| Freebsd | — | Upgrade grafanaUpgrade grafana8Upgrade grafana6Upgrade grafana7 | Nov 4, 2022 | Oct 6, 2021 |
| Oracle_linux | — | Upgrade grafana | Oct 13, 2021 | Oct 5, 2021 |
| Redhat_linux | — | Upgrade grafana-mssqlUpgrade grafana-lokiUpgrade grafanaUpgrade grafana-cloudwatchUpgrade grafana-stackdriverUpgrade grafana-elasticsearchUpgrade grafana-mysqlUpgrade grafana-prometheusUpgrade grafana-debuginfoUpgrade grafana-azure-monitorUpgrade grafana-opentsdbUpgrade grafana-postgresUpgrade grafana-graphiteUpgrade grafana-influxdb | Oct 14, 2021 | Oct 12, 2021 |
| Rocky_linux | — | Upgrade grafana-debuginfoUpgrade grafana | May 5, 2022 | Oct 5, 2021 |
| Suse | — | Upgrade python3-rhnlibUpgrade spacecmdUpgrade golang-github-prometheus-node_exporterUpgrade grafanaUpgrade prometheus-postgres_exporter | Jan 21, 2022 | Oct 5, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub