4.3
MEDIUM
CVE-2021-43813
Grafana Directory Traversal MD File Vulnerability
Description

Grafana is an open-source platform for monitoring and observability. Grafana prior to versions 8.3.2 and 7.5.12 contains a directory traversal vulnerability for fully lowercase or fully uppercase .md files. The vulnerability is limited in scope, and only allows access to files with the extension .md to authenticated users only. Grafana Cloud instances have not been affected by the vulnerability. Users should upgrade to patched versions 8.3.2 or 7.5.12. For users who cannot upgrade, running a reverse proxy in front of Grafana that normalizes the PATH of the request will mitigate the vulnerability. The proxy will have to also be able to handle url encoded paths. Alternatively, for fully lowercase or fully uppercase .md files, users can block /api/plugins/.*/markdown/.* without losing any functionality beyond inlined plugin help text.

INFO

Published Date :

Dec. 10, 2021, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 6:29 a.m.

Remotely Exploitable :

Yes !

Impact Score :

1.4

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2021-43813 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-43813.

URL Resource
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Release Notes Third Party Advisory
https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f Broken Link
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q Patch Release Notes Third Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch Release Notes Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ Release Notes Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ Release Notes Vendor Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
http://www.openwall.com/lists/oss-security/2021/12/10/4 Mailing List Patch Release Notes Third Party Advisory
https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f Broken Link
https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q Patch Release Notes Third Party Advisory
https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch Release Notes Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ Release Notes Vendor Advisory
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ Release Notes Vendor Advisory
https://security.netapp.com/advisory/ntap-20220107-0006/ 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).

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-43813 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43813 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://www.openwall.com/lists/oss-security/2021/12/10/4
    Added Reference https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f
    Added Reference https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d
    Added Reference https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q
    Added Reference https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/
    Added Reference https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/
    Added Reference https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/
    Added Reference https://security.netapp.com/advisory/ntap-20220107-0006/
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 31, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://security.netapp.com/advisory/ntap-20220107-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20220107-0006/ Third Party Advisory
  • CVE Modified by [email protected]

    Jan. 10, 2022

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20220107-0006/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 14, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:N/A:N)
    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, Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f No Types Assigned https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0f Broken Link
    Changed Reference Type https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d No Types Assigned https://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308d Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q No Types Assigned https://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2q Patch, Release Notes, Third Party Advisory
    Changed Reference Type https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ No Types Assigned https://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/ Patch, Release Notes, Vendor Advisory
    Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ No Types Assigned https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/ Release Notes, Vendor Advisory
    Changed Reference Type https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ No Types Assigned https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/ Release Notes, Vendor Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration OR *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 7.5.12 *cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* versions from (including) 8.0.0 up to (excluding) 8.3.2
  • 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]
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-43813 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.

1.01 }} -0.15%

score

0.83532

percentile

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