PT-2022-27773 · Grafana · Synthetic Monitoring Agent For Grafana

Govulnbot

·

Published

2022-11-30

·

Updated

2024-09-06

·

CVE-2022-46156

CVSS v3.1

7.2

High

VectorAV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Synthetic Monitoring Agent for Grafana versions prior to 0.12.0
Description The Synthetic Monitoring Agent for Grafana's Synthetic Monitoring application provides probe functionality and executes network checks for monitoring remote targets. Users running the Synthetic Monitoring agent prior to version 0.12.0 in their local network are impacted. The authentication token used to communicate with the Synthetic Monitoring API is exposed through a debugging endpoint. This token can be used to retrieve the Synthetic Monitoring checks created by the user and assigned to the agent identified with that token. The Synthetic Monitoring API will reject connections from already-connected agents, so access to the token does not guarantee access to the checks.
Recommendations For versions prior to 0.12.0, review the agent settings and set the HTTP listening address in a manner that limits the exposure, for example, localhost or a non-routed network, by using the command line parameter -listen-address, e.g. -listen-address localhost:4050. After upgrading to version 0.12.0 or later, review the configuration stored in /etc/synthetic-monitoring/synthetic-monitoring-agent.conf, specifically the API TOKEN variable which has been renamed to SM AGENT API TOKEN. Rotate the agent tokens.

Exploit

Fix

Weakness Enumeration

Related Identifiers

CVE-2022-46156
GHSA-9J4F-F249-Q5W8
GO-2022-1132

Affected Products

Synthetic Monitoring Agent For Grafana