CVE-2021-39226

CRITICAL KEV NUCLEI

Grafana < 7.5.11 - Missing Authorization

Title source: rule

Description

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.

Nuclei Templates (1)

Grafana Snapshot - Authentication Bypass
HIGHby Evan Rubinstein,matejsmycka
Shodan: title:"Grafana" || cpe:"cpe:2.3:a:grafana:grafana" || http.title:"grafana"
FOFA: title="grafana" || app="grafana"

Scores

CVSS v3 9.8
EPSS 0.9435
EPSS Percentile 100.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CISA KEV 2022-08-25
VulnCheck KEV 2022-08-19
InTheWild.io 2022-08-19
ENISA EUVD EUVD-2021-2169
CWE
CWE-862 CWE-287
Status published
Products (4)
fedoraproject/fedora 34
fedoraproject/fedora 35
grafana/grafana < 7.5.11
grafana/grafana 0 - 7.5.11Go
Published Oct 05, 2021
KEV Added Aug 25, 2022
Tracked Since Feb 18, 2026