CVE-2022-46156
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. 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`.
Weakness
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2025-04-23 |
Timeline
- 2022-11-30Published by the CNA00:00 UTC
- 2024-09-06GitHub advisory published (GHSA-9j4f-f249-q5w8)646 days after publication
- 2025-04-23CISA SSVC decision recorded875 days after publication
Exploit and advisory records
GitHub advisory GHSA-9j4f-f249-q5w8, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/grafana/synthetic-monitoring-agent | before 0.12.0 | 0.12.0 |
| Go github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent | before 0.12.0 | 0.12.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| grafana synthetic_monitoring_agent | before 0.12.0fixed in 0.12.0 | 0.12.0 |
References
- https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228
- https://github.com/grafana/synthetic-monitoring-agent/pull/373
- https://github.com/grafana/synthetic-monitoring-agent/pull/374
- https://github.com/grafana/synthetic-monitoring-agent/pull/375
- https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0
- https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-46156'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-46156'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-46156'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-46156'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).