First published: Fri Apr 30 2021(Updated: )
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.
Credit: cve@mitre.org cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Grafana Enterprise Metrics | <1.2.1 | |
Grafana Enterprise Metrics | <1.2.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-31231 is a local file disclosure vulnerability in Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1.
CVE-2021-31231 has a severity value of 5.5, which is considered medium.
Grafana Enterprise Metrics before 1.2.1 and Metrics Enterprise 1.2.1 are affected by CVE-2021-31231.
The attack vector for CVE-2021-31231 is using the HTTP basic auth password_file as a webhook to send any file content.
To fix CVE-2021-31231, update Grafana Enterprise Metrics and Metrics Enterprise to version 1.2.1 or later.