Lucene search

K
cveMitreCVE-2021-31231
HistoryApr 30, 2021 - 1:15 p.m.

CVE-2021-31231

2021-04-3013:15:07
mitre
web.nvd.nist.gov
30
5
cve-2021-31231
grafana
enterprise metrics
local file disclosure
vulnerability
alertmanager
http
basic auth
password_file
attack vector
webhook
templates
nvd

CVSS2

2.1

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:L/AC:L/Au:N/C:P/I:N/A:N

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

AI Score

5.3

Confidence

High

EPSS

0.001

Percentile

17.5%

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.

Affected configurations

Nvd
Node
grafanaenterprise_metricsRange<1.2.1
OR
grafanaenterprise_metricsRange<1.2.1enterprise
VendorProductVersionCPE
grafanaenterprise_metrics*cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:*:*:*:*
grafanaenterprise_metrics*cpe:2.3:a:grafana:enterprise_metrics:*:*:*:*:enterprise:*:*:*

Social References

More

CVSS2

2.1

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:L/AC:L/Au:N/C:P/I:N/A:N

CVSS3

5.5

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

AI Score

5.3

Confidence

High

EPSS

0.001

Percentile

17.5%

Related for CVE-2021-31231