From nobody Wed Oct 27 09:02:12 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7285C182BB9A; Wed, 27 Oct 2021 09:02:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HfN442j0Rz3nLZ; Wed, 27 Oct 2021 09:02:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3DFE15563; Wed, 27 Oct 2021 09:02:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 19R92Caw077554; Wed, 27 Oct 2021 09:02:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19R92CfY077553; Wed, 27 Oct 2021 09:02:12 GMT (envelope-from git) Date: Wed, 27 Oct 2021 09:02:12 GMT Message-Id: <202110270902.19R92CfY077553@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: e2ee21b6d9e9 - main - security/vuxml: Document snapshot authentication bypass vulnerability in Grafana List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e2ee21b6d9e95f4daacef5b04106bfda93897e0f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e2ee21b6d9e95f4daacef5b04106bfda93897e0f commit e2ee21b6d9e95f4daacef5b04106bfda93897e0f Author: Boris Korzun AuthorDate: 2021-10-26 10:29:22 +0000 Commit: Yasuhiro Kimura CommitDate: 2021-10-27 09:01:21 +0000 security/vuxml: Document snapshot authentication bypass vulnerability in Grafana PR: 258962 Differential Revision: https://reviews.freebsd.org/D32667 --- security/vuxml/vuln-2021.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/security/vuxml/vuln-2021.xml b/security/vuxml/vuln-2021.xml index d0f4bb5cc273..07eb5f8e7db7 100644 --- a/security/vuxml/vuln-2021.xml +++ b/security/vuxml/vuln-2021.xml @@ -1,3 +1,47 @@ + + Grafana -- Snapshot authentication bypass + + + grafana8 + grafana7 + grafana6 + grafana + 8.0.08.1.6 + 2.0.17.5.11 + + + + +

Grafana Labs reports:

+
+

Unauthenticated and authenticated users are able to view the snapshot with the lowest database key by accessing the literal paths:

+
    +
  • /dashboard/snapshot/:key, or
  • +
  • /api/snapshots/:key
  • +
+

If the snapshot "public_mode" configuration setting is set to true (vs default of false), unauthenticated users are able to delete the snapshot with the lowest database key by accessing the literal path:

+
    +
  • /api/snapshots-delete/:deleteKey
  • +
+

Regardless of the snapshot "public_mode" setting, authenticated users are able to delete the snapshot with the lowest database key by accessing the literal paths:

+
    +
  • /api/snapshots/:key, or
  • +
  • /api/snapshots-delete/:deleteKey
  • +
+

The combination of deletion and viewing enables a complete walk through all snapshot data while resulting in complete snapshot data loss.

+
+ +
+ + CVE-2021-39226 + https://grafana.com/blog/2021/10/05/grafana-7.5.11-and-8.1.6-released-with-critical-security-fix/ + + + 2021-09-15 + 2021-10-06 + +
+ minio -- policy restriction issue