CVE-2021-43813
published 2021-12-10CVE-2021-43813: 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…
PriorityP341medium4.3CVSS 3.1
AVNACLPRLUINSUCLINAN
EPSS
57.99%
99.0th percentile
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.
Affected
5 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | grafana_grafana | >= 8.0.0-beta3 < 8.3.2 | 8.3.2 |
| grafana | grafana | — | — |
| grafana | grafana | — | — |
| grafana | grafana | >= 5.0.0 < 7.5.12 | 7.5.12 |
| grafana | grafana | >= 8.0.0 < 8.3.2 | 8.3.2 |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for directory traversal attempts via the Grafana plugin markdown API endpoint — specifically requests to /api/plugins/.*/markdown/.* containing path traversal sequences (e.g., ../ or URL-encoded equivalents) targeting .md files that are fully lowercase or fully uppercase. ↗
- →Flag authenticated HTTP requests to /api/plugins/.*/markdown/.* that include URL-encoded path components, as the traversal may be delivered via URL encoding. ↗
- ·The vulnerability only affects authenticated users; unauthenticated requests cannot exploit this directory traversal. ↗
- ·Traversal is restricted to files with the .md extension that are fully lowercase or fully uppercase — mixed-case .md files are not reachable. ↗
- ·Grafana Cloud instances are confirmed unaffected; detection efforts should focus on self-hosted Grafana deployments prior to 8.3.2 / 7.5.12. ↗
- ·A reverse proxy normalizing the PATH of requests (including URL-encoded paths) in front of Grafana is a valid mitigation when patching is not immediately possible. ↗
CVSS provenance
nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
ghsa7.5HIGH
osv7.5HIGH
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
grafana: directory traversal vulnerability
vendor_redhat·2021-12-10·CVSS 4.3
CVE-2021-43813 [MEDIUM] CWE-22 grafana: directory traversal vulnerability
grafana: directory traversal vulnerability
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/p
GHSA
Grafana directory traversal for .cvs files
ghsa·2024-05-14·CVSS 7.5
CVE-2021-43815 [HIGH] CWE-22 Grafana directory traversal for .cvs files
Grafana directory traversal for .cvs files
Today we are releasing Grafana `8.3.2` and `7.5.12`. This patch release includes a moderate severity security fix for directory traversal for arbitrary `.csv` files. It only affects instances that have the developer testing tool called [TestData DB data source](https://grafana.com/docs/grafana/latest/datasources/testdata/) enabled and configured.
The vulnerability is limited in scope, and only allows access to files with the extension `.csv` to **authenticated users only.**
This is a follow-up patch release to our recent [CVE-2021-43798](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43798) release. If you haven’t read about that high severity security fix, we recommend that you review the [initial blog post](https://grafana.com/blog/2
OSV
Grafana directory traversal for .cvs files
osv·2024-05-14·CVSS 7.5
CVE-2021-43815 [HIGH] Grafana directory traversal for .cvs files
Grafana directory traversal for .cvs files
Today we are releasing Grafana `8.3.2` and `7.5.12`. This patch release includes a moderate severity security fix for directory traversal for arbitrary `.csv` files. It only affects instances that have the developer testing tool called [TestData DB data source](https://grafana.com/docs/grafana/latest/datasources/testdata/) enabled and configured.
The vulnerability is limited in scope, and only allows access to files with the extension `.csv` to **authenticated users only.**
This is a follow-up patch release to our recent [CVE-2021-43798](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43798) release. If you haven’t read about that high severity security fix, we recommend that you review the [initial blog post](https://grafana.com/blog/2
OSV
CVE-2021-43813: Grafana is an open-source platform for monitoring and observability
osv·2021-12-10·CVSS 4.3
CVE-2021-43813 [MEDIUM] CVE-2021-43813: Grafana is an open-source platform for monitoring and observability
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 fun
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
http://www.openwall.com/lists/oss-security/2021/12/10/4https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0fhttps://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308dhttps://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2qhttps://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/https://security.netapp.com/advisory/ntap-20220107-0006/http://www.openwall.com/lists/oss-security/2021/12/10/4https://github.com/github/securitylab-vulnerabilities/commit/689fc5d9fd665be4d5bba200a6a433b532172d0fhttps://github.com/grafana/grafana/commit/fd48aee61e4328aae8d5303a9efd045fa0ca308dhttps://github.com/grafana/grafana/security/advisories/GHSA-c3q8-26ph-9g2qhttps://grafana.com/blog/2021/12/10/grafana-8.3.2-and-7.5.12-released-with-moderate-severity-security-fix/https://grafana.com/docs/grafana/latest/release-notes/release-notes-7-5-12/https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-3-2/https://security.netapp.com/advisory/ntap-20220107-0006/
2021-12-10
Published