CVE-2021-31231 Information disclosure in n/a
Attackers can read arbitrary local files via webhook or template vectors when the experimental Alertmanager API is enabled in Grafana Enterprise Metrics.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-31231?
CVE-2021-31231 is a medium-severity vulnerability in n/a, published on 30 Apr 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
The Alertmanager in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 has a local file disclosure vulnerability when experimental.alertmanager.enable-api is used. The HTTP basic auth password_file can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list.
Which versions are affected by CVE-2021-31231?
It affects 1 product.
Products include Grafana Enterprise Metrics.
How do I fix CVE-2021-31231?
No fix has been published for CVE-2021-31231 yet. Limit exposure of the affected software until one is available.
Is CVE-2021-31231 being exploited?
There is no known exploitation of CVE-2021-31231 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rm28-h995-22q5.