CVE-2021-43798
Grafana Plugin Directory Traversal Vulnerability
Description
Grafana is an open-source platform for monitoring and observability. Grafana versions 8.0.0-beta1 through 8.3.0 (except for patched versions) iss vulnerable to directory traversal, allowing access to local files. The vulnerable URL path is: `<grafana_host_url>/public/plugins//`, where is the plugin ID for any installed plugin. At no time has Grafana Cloud been vulnerable. Users are advised to upgrade to patched versions 8.0.7, 8.1.8, 8.2.7, or 8.3.1. The GitHub Security Advisory contains more information about vulnerable URL paths, mitigation, and the disclosure timeline.
INFO
Published Date :
Dec. 7, 2021, 7:15 p.m.
Last Modified :
Nov. 21, 2024, 6:29 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2021-43798 has a 144 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-43798
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
None
None
None
None
None
None
Automated path traversal testing tool for Grafana plugin endpoints using curl and Bash.
Shell
None
Updated exploit script for the CVE-2021-43798
Python
This thesis project focuses on the creation of an autonomous agent that is capable of understanding CVE description and create from its interpretation a vulnerable Docker container, which can then be used to gather attack patterns data. The Docker creation process is benchmarked in order to understand how well the agent is performing its tasks.
Dockerfile HTML Python Shell Groovy PHP
Arbitrary file read in Grafana allows an attacker to read server files by abusing a path traversal.
Python
None
Shell
Modified exploit for CVE-2021-43798 compatible with both Windows and Linux hosts.
Python
None
Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-43798
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-43798
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Added Reference http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Added Reference http://www.openwall.com/lists/oss-security/2021/12/09/2 Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4 Added Reference https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Added Reference https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Added Reference https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Added Reference https://security.netapp.com/advisory/ntap-20211229-0004/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Apr. 12, 2022
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch, Third Party Advisory Changed Reference Type https://security.netapp.com/advisory/ntap-20211229-0004/ No Types Assigned https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory -
CVE Modified by [email protected]
Dec. 29, 2021
Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20211229-0004/ [No Types Assigned] -
Modified Analysis by [email protected]
Dec. 14, 2021
Action Type Old Value New Value Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/09/2 Third Party Advisory http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List, Patch, Third Party Advisory Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/10/4 No Types Assigned http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List, Patch -
CVE Modified by [email protected]
Dec. 11, 2021
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2021/12/10/4 [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 10, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N) Changed Reference Type http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html No Types Assigned http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html No Types Assigned http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://www.openwall.com/lists/oss-security/2021/12/09/2 No Types Assigned http://www.openwall.com/lists/oss-security/2021/12/09/2 Third Party Advisory Changed Reference Type https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce No Types Assigned https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch, Third Party Advisory Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch, Third Party Advisory Changed Reference Type https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ No Types Assigned https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:8.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:8.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:8.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.1 up to (excluding) 8.0.7 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.1.0 up to (excluding) 8.1.8 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.2.0 up to (excluding) 8.2.7 *cpe:2.3:a:grafana:grafana:8.3.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 09, 2021
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2021/12/09/2 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 09, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html [No Types Assigned] -
CVE Modified by [email protected]
Dec. 09, 2021
Action Type Old Value New Value Added Reference https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ [No Types Assigned] -
CVE Modified by [email protected]
Dec. 08, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-43798
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-43798
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
94.33 }} 0.15%
score
0.99942
percentile