7.5
HIGH
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 :

security-advisories@github.com

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-43798 has a 129 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-43798 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
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.

URL Resource
http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch Third Party Advisory
https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory
http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html Third Party Advisory VDB Entry
http://packetstormsecurity.com/files/165221/Grafana-8.3.0-Directory-Traversal-Arbitrary-File-Read.html Exploit Third Party Advisory VDB Entry
http://www.openwall.com/lists/oss-security/2021/12/09/2 Mailing List Patch Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Third Party Advisory
https://github.com/grafana/grafana/commit/c798c0e958d15d9cc7f27c72113d572fa58545ce Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p Patch Third Party Advisory
https://grafana.com/blog/2021/12/08/an-update-on-0day-cve-2021-43798-grafana-directory-traversal/ Vendor Advisory
https://security.netapp.com/advisory/ntap-20211229-0004/ Third Party Advisory

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

Shell

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 1:13 p.m. This repo has been linked 2 different CVEs too.

Modified exploit for CVE-2021-43798 compatible with both Windows and Linux hosts.

Python

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 12, 2025, 9:02 a.m. This repo has been linked 1 different CVEs too.

None

Shell

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : Feb. 11, 2025, 12:42 p.m. This repo has been linked 1 different CVEs too.

CVE-2021-43798 working exploit

Python

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 26, 2025, 6:32 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 6, 2025, 8:17 a.m. This repo has been linked 1 different CVEs too.

Useful scripts while completing CTFs on various platforms

Python

Updated: 2 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Jan. 2, 2025, 4:06 p.m. This repo has been linked 1 different CVEs too.

Automated Exploit Tool for Grafana CVE-2021-43798: Scanning common files that contain juicy informations and extracting SSH keys from compromised users.

Python

Updated: 2 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Dec. 14, 2024, 2:06 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Dec. 4, 2024, 5:22 a.m. This repo has been linked 8 different CVEs too.

基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。

Updated: 3 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Nov. 29, 2024, 4:05 a.m. This repo has been linked 127 different CVEs too.

A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities

attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc

Updated: 1 month, 2 weeks ago
5 stars 2 fork 2 watcher
Born at : Nov. 17, 2024, 11:53 a.m. This repo has been linked 414 different CVEs too.

Misuse Detection in containers using classification algorithms, end-to-end implemented with best-suited MlOps tools and frameworks. From data ingestion, pre-processing to model building, evalutaion and deployment, the project demonstrates an overview of all the steps involved in a data science / ML project.

classification end-to-end-machine-learning mlops

Jupyter Notebook Python

Updated: 3 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 31, 2024, 8:44 a.m. This repo has been linked 2 different CVEs too.

Python implementation of a tool for decrypting and encrypting sensitive data in Grafana, specifically addressing the vulnerabilities associated with CVE-2021-43798. Grafana encrypts all data source passwords using the AES algorithm with the secret_key found in the defaults.ini configuration file.

Python

Updated: 2 months, 2 weeks ago
2 stars 0 fork 0 watcher
Born at : Oct. 5, 2024, 6:51 p.m. This repo has been linked 1 different CVEs too.

This repo contains the codes of the penetration test benchmark for Generative Agents presented in the paper "AutoPenBench: Benchmarking Generative Agents for Penetration Testing". It contains also the instructions to install, develop and test new vulnerable containers to include in the benchmark.

benchmark generative-agents generative-ai penetration-testing

Python Shell Dockerfile C PHP Hack CSS HTML Ruby Groovy

Updated: 1 month, 1 week ago
15 stars 2 fork 2 watcher
Born at : Sept. 30, 2024, 3:13 p.m. This repo has been linked 11 different CVEs too.

这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目

HTML

Updated: 2 months ago
1 stars 0 fork 0 watcher
Born at : Sept. 20, 2024, 3:27 a.m. This repo has been linked 214 different CVEs too.

Grafana Decryptor for CVE-2021-43798

cracking cve-2021-43798 decryption decryptor grafana password

Python

Updated: 1 month, 1 week ago
3 stars 1 fork 1 watcher
Born at : July 2, 2024, 8:43 a.m. This repo has been linked 1 different CVEs too.

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 security-advisories@github.com

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by nvd@nist.gov

    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 security-advisories@github.com

    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 nvd@nist.gov

    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 security-advisories@github.com

    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 nvd@nist.gov

    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 security-advisories@github.com

    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 security-advisories@github.com

    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 security-advisories@github.com

    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 security-advisories@github.com

    Dec. 08, 2021

    Action Type Old Value New Value
    Added Reference http://packetstormsecurity.com/files/165198/Grafana-Arbitrary-File-Reading.html [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

97.48 }} 0.03%

score

0.99985

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability