7.2
CWE
489 749
Advisory Published
Advisory Published
Updated

CVE-2022-46156: Grafana's default installation of `synthetic-monitoring-agent` exposes sensitive information

First published: Wed Nov 30 2022(Updated: )

### Impact Users running the Synthetic Monitoring agent in their local network are impacted. The authentication token used to communicate with the Synthetic Monitoring API is exposed thru 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. ### Patches Fixed version is v0.12.0 Users are advised to rotate the agent tokens. After upgrading to version v0.12.0 or later, it's recommended that user's of distribution packages (e.g. Debian or RedHat and their derivatives) 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`. ### Workarounds With all 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`. ### References The following changes have been made to address this issue: - [Disable debug endpoint by default](https://github.com/grafana/synthetic-monitoring-agent/pull/373) - [Allow retrieving the token from the environment](https://github.com/grafana/synthetic-monitoring-agent/pull/374) - [Default to listening on localhost](https://github.com/grafana/synthetic-monitoring-agent/pull/375) ### For more information If you have any questions or comments about this advisory: * You can use the [Synthetic Monitoring Agent discussions](https://github.com/grafana/synthetic-monitoring-agent/discussions). * Issues should be reported in the [Synthetic Monitoring Agent issues](https://github.com/grafana/synthetic-monitoring-agent/issues). * Email us at [security@grafana.com](mailto:security@grafana.com).

Credit: security-advisories@github.com security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Grafana Synthetic Monitoring Agent<0.12.0
go/github.com/grafana/synthetic-monitoring-agent<0.12.0
0.12.0
go/github.com/grafana/synthetic-monitoring-agent/cmd/synthetic-monitoring-agent<0.12.0
0.12.0
<0.12.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-46156?

    CVE-2022-46156 is a vulnerability in the Synthetic Monitoring Agent for Grafana's Synthetic Monitoring application that allows unauthorized access to the agent.

  • How does CVE-2022-46156 affect users?

    Users running the Synthetic Monitoring Agent prior to version 0.12.0 in their local network are impacted by CVE-2022-46156.

  • What is the severity of CVE-2022-46156?

    The severity of CVE-2022-46156 is high with a severity value of 3.3.

  • How do I fix CVE-2022-46156?

    To fix CVE-2022-46156, users should update their Synthetic Monitoring Agent to version 0.12.0 or newer.

  • What is the Common Weakness Enumeration (CWE) ID for CVE-2022-46156?

    The Common Weakness Enumeration (CWE) ID for CVE-2022-46156 is CWE-489 and CWE-749.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203