Grafana 8.x < 9.4.17, 9.5.x < 9.5.13, 9.6.x < 10.0.9, 10.1.x < 10.1.5 Cross-Organization Permission Escalation Vulnerability
🗓️ 16 Oct 2023 00:00:00Reported by Copyright (C) 2023 Greenbone AGType
openvas🔗 plugins.openvas.org👁 24 Views
| Reporter | Title | Published | Views | Family All 34 |
|---|---|---|---|---|
| CVE-2023-4822 | 16 Oct 202309:15 | – | alpinelinux | |
| The vulnerability of the Grafana monitoring and observation platform lies in its permission list for authorized access, which allows a violator to increase their privileges. | 4 Apr 202400:00 | – | bdu_fstec | |
| CVE-2023-4822 | 14 Feb 202509:46 | – | circl | |
| Grafana Security Vulnerabilities | 16 Oct 202300:00 | – | cnnvd | |
| CVE-2023-4822 | 16 Oct 202308:45 | – | cve | |
| CVE-2023-4822 | 16 Oct 202308:45 | – | cvelist | |
| EUVD-2023-2733 | 3 Oct 202520:07 | – | euvd | |
| Grafana privilege escalation vulnerability | 16 Oct 202309:30 | – | github | |
| Grafana org admins can modify permissions across all orgs | 12 Oct 202300:00 | – | grafana | |
| Grafana Labs Security Bypass (CVE-2023-4822) | 1 Nov 202300:00 | – | nessus |
10
# SPDX-FileCopyrightText: 2023 Greenbone AG
# 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-only
CPE = "cpe:/a:grafana:grafana";
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.170605");
script_version("2023-10-24T05:06:28+0000");
script_tag(name:"last_modification", value:"2023-10-24 05:06:28 +0000 (Tue, 24 Oct 2023)");
script_tag(name:"creation_date", value:"2023-10-16 14:33:28 +0000 (Mon, 16 Oct 2023)");
script_tag(name:"cvss_base", value:"8.3");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:M/C:C/I:C/A:C");
script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2023-10-20 18:30:00 +0000 (Fri, 20 Oct 2023)");
script_cve_id("CVE-2023-4822");
script_tag(name:"qod_type", value:"remote_banner_unreliable"); # nb: affects only instances with more than one organisation, and with RBAC enabled (prior to 10.0.0)
script_tag(name:"solution_type", value:"VendorFix");
script_name("Grafana 8.x < 9.4.17, 9.5.x < 9.5.13, 9.6.x < 10.0.9, 10.1.x < 10.1.5 Cross-Organization Permission Escalation Vulnerability");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2023 Greenbone AG");
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 a cross-organization permission escalation
by an organization administrator vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"Vulnerable versions of Grafana are incorrectly assessing
permissions to update cross-organization roles and role assignments. Therefore users with
administrator permissions in one organization can change cross-organization role permissions and
cross-organization role assignments.
This vulnerability impacts instances with more than one organization running Grafana Enterprise
versions.
No Grafana Cloud instances are impacted because the platform is limited to a single organization.");
script_tag(name:"impact", value:"If exploited, an attacker who has the Organization Admin role in
any organization can elevate their permissions across all organizations, elevate other users'
permissions in all organizations, or limit other users' permissions in all organizations.
The vulnerability, however, does not allow the attacker to become a member of an organization that
they are not already a member of, nor can they add any other user to an organization that the
attacker is not a member of already.");
script_tag(name:"affected", value:"Grafana version 8.x prior to 9.4.17, 9.5.x prior to 9.5.13,
9.6.x prior to 10.0.9 and 10.1.x prior to 10.1.5.
Versions between 8.0.0 and 10.0.0 are only vulnerable if role-based access control (RBAC) is
enabled.");
script_tag(name:"solution", value:"Update to version 9.4.17, 9.5.13, 10.0.9, 10.1.5 or later.");
script_xref(name:"URL", value:"https://grafana.com/blog/2023/10/13/grafana-security-release-new-versions-of-grafana-with-a-medium-severity-security-fix-for-cve-2023-4822/");
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_exclusive(version: version, test_version_lo: "8.0.0", test_version_up: "9.4.17")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.4.17", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if (version_in_range_exclusive(version: version, test_version_lo: "9.5.0", test_version_up: "9.5.13")) {
report = report_fixed_ver(installed_version: version, fixed_version: "9.5.13", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if (version_in_range_exclusive(version: version, test_version_lo: "9.6.0", test_version_up: "10.0.9")) {
report = report_fixed_ver(installed_version: version, fixed_version: "10.0.9", install_path: location);
security_message(port: port, data: report);
exit(0);
}
if (version_in_range_exclusive(version: version, test_version_lo: "10.1.0", test_version_up: "10.1.5")) {
report = report_fixed_ver(installed_version: version, fixed_version: "10.1.5", install_path: location);
security_message(port: port, data: report);
exit(0);
}
exit(0);
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
24 Oct 2023 00:00Current
9.4High risk
Vulners AI Score9.4
CVSS 3.16.7 - 7.2
EPSS0.01074
SSVC