Grafana 2.0.1 < 7.5.11, 8.x < 8.1.6 Snapshot Authentication Bypass Vulnerability (GHSA-69j6-29vr-p3j9)
🗓️ 07 Oct 2021 00:00:00Reported by Copyright (C) 2021 Greenbone Networks GmbHType
openvas🔗 plugins.openvas.org👁 22 Views
| Reporter | Title | Published | Views | Family All 115 |
|---|---|---|---|---|
| Grafana -- Snapshot authentication bypass | 15 Sep 202100:00 | – | freebsd | |
| CVE-2021-38406 | 9 Sep 202100:00 | – | attackerkb | |
| CVE-2021-39226 | 5 Oct 202100:00 | – | attackerkb | |
| Alibaba Cloud Linux 3 : 0073: grafana (ALINUX3-SA-2021:0073) | 14 May 202500:00 | – | nessus | |
| CentOS 8 : grafana (CESA-2021:3771) | 15 Oct 202100:00 | – | nessus | |
| CentOS 9 : grafana-9.0.9-1.el9 | 29 Feb 202400:00 | – | nessus | |
| FreeBSD : Grafana -- Snapshot authentication bypass (757ee63b-269a-11ec-a616-6c3be5272acd) | 28 Oct 202100:00 | – | nessus | |
| MiracleLinux 8 : grafana-7.3.6-3.el8 (AXSA:2021-2462:05) | 20 Jan 202600:00 | – | nessus | |
| openSUSE 15 Security Update : grafana (openSUSE-SU-2022:0140-1) | 21 Jan 202200:00 | – | nessus | |
| Oracle Linux 8 : grafana (ELSA-2021-3771) | 13 Oct 202100:00 | – | nessus |
10
# Copyright (C) 2021 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
CPE = "cpe:/a:grafana:grafana";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.146863");
script_version("2022-09-14T10:57:19+0000");
script_tag(name:"last_modification", value:"2022-09-14 10:57:19 +0000 (Wed, 14 Sep 2022)");
script_tag(name:"creation_date", value:"2021-10-07 11:38:53 +0000 (Thu, 07 Oct 2021)");
script_tag(name:"cvss_base", value:"6.8");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:P/A:P");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2021-10-08 12:41:00 +0000 (Fri, 08 Oct 2021)");
script_xref(name:"CISA", value:"Known Exploited Vulnerability (KEV) catalog");
script_xref(name:"URL", value:"https://www.cisa.gov/known-exploited-vulnerabilities-catalog");
script_cve_id("CVE-2021-39226");
script_tag(name:"qod_type", value:"remote_banner");
script_tag(name:"solution_type", value:"VendorFix");
script_name("Grafana 2.0.1 < 7.5.11, 8.x < 8.1.6 Snapshot Authentication Bypass Vulnerability (GHSA-69j6-29vr-p3j9)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2021 Greenbone Networks GmbH");
script_family("Web application abuses");
script_dependencies("gb_grafana_http_detect.nasl");
script_mandatory_keys("grafana/detected");
script_tag(name:"summary", value:"Grafana is prone to an authentication bypass vulnerability in
the snapshot functionality.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"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.");
script_tag(name:"affected", value:"Grafana version 2.0.1 through 7.5.10 and 8.x through 8.1.5.");
script_tag(name:"solution", value:"Update to version 7.5.11, 8.1.6 or later.");
script_xref(name:"URL", value:"https://github.com/grafana/grafana/security/advisories/GHSA-69j6-29vr-p3j9");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if (!port = get_app_port(cpe: CPE))
exit(0);
if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
exit(0);
version = infos["version"];
location = infos["location"];
if (version_in_range(version: version, test_version: "2.0.1", test_version2: "7.5.10")) {
report = report_fixed_ver(installed_version: version, fixed_version: "7.5.11", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if (version_in_range(version: version, test_version: "8.0", test_version2: "8.1.5")) {
report = report_fixed_ver(installed_version: version, fixed_version: "8.1.6", install_path: location);
security_message(port: port, data: report);
exit(0);
}
exit(99);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
14 Sep 2022 00:00Current
7.6High risk
Vulners AI Score7.6
CVSS 26.8
CVSS 3.17.3 - 9.8
EPSS0.99933
SSVC