CVE-2022-46156

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. Version 0.12.0 contains a fix. Users are advised to rotate the agent tokens. After upgrading to version v0.12.0 or later, it's recommended that users of distribution packages 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`. As a workaround for previous versions, it's recommended that users 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`.
Configurations

Configuration 1 (hide)

cpe:2.3:a:grafana:synthetic_monitoring_agent:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:30

Type Values Removed Values Added
References () https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228 - Patch, Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228 - Patch, Third Party Advisory
References () https://github.com/grafana/synthetic-monitoring-agent/pull/373 - Patch, Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/pull/373 - Patch, Third Party Advisory
References () https://github.com/grafana/synthetic-monitoring-agent/pull/374 - Patch, Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/pull/374 - Patch, Third Party Advisory
References () https://github.com/grafana/synthetic-monitoring-agent/pull/375 - Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/pull/375 - Third Party Advisory
References () https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 - Release Notes, Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 - Release Notes, Third Party Advisory
References () https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8 - Mitigation, Third Party Advisory () https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8 - Mitigation, Third Party Advisory
CVSS v2 : unknown
v3 : 3.3
v2 : unknown
v3 : 7.2

Information

Published : 2022-11-30 22:15

Updated : 2024-11-21 07:30


NVD link : CVE-2022-46156

Mitre link : CVE-2022-46156

CVE.ORG link : CVE-2022-46156


JSON object : View

Products Affected

grafana

  • synthetic_monitoring_agent
CWE
CWE-489

Active Debug Code

CWE-749

Exposed Dangerous Method or Function

NVD-CWE-Other