CVE-2020-12458 Grafana information disclosure
Local attackers can read Grafana database files to expose sensitive information like datasource passwords due to world-readable permissions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-12458?
CVE-2020-12458 is a medium-severity vulnerability in Fedoraproject Fedora, published on 29 Apr 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An information-disclosure flaw was found in Grafana through 6.7.3. The database directory /var/lib/grafana and database file /var/lib/grafana/grafana.db are world readable. This can result in exposure of sensitive information (e.g., cleartext or encrypted datasource passwords).
Weakness: CWE-732
Which versions are affected by CVE-2020-12458?
4 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 4 products.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | All versions | 7.2.1 |
github.com/grafana/grafana Go | All versions | 7.2.1 |
grafana Bitnami | All versions | 6.7.4 |
Products include Fedoraproject Fedora, Grafana Grafana, Redhat Ceph Storage, Redhat Enterprise Linux.
How do I fix CVE-2020-12458?
Upgrade github.com/grafana/grafana to 7.2.1 or later.
Is CVE-2020-12458 being exploited?
There is no known exploitation of CVE-2020-12458 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as BIT-grafana-2020-12458, GHSA-3jq7-8ph8-63xm, GO-2024-2513, MINI-2xq5-hmr3-vwwm, MINI-2xvh-mf94-pw3j, MINI-55gq-wxfr-7g4r and 15 more.