7.2
HIGH
CVE-2022-46156
Grafana Synthetic Monitoring Agent Authentication Token Exposur
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`.

INFO

Published Date :

Nov. 30, 2022, 10:15 p.m.

Last Modified :

Dec. 5, 2022, 2:58 p.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2022-46156 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana synthetic_monitoring_agent
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-46156.

URL Resource
https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228 Patch Third Party Advisory
https://github.com/grafana/synthetic-monitoring-agent/pull/373 Patch Third Party Advisory
https://github.com/grafana/synthetic-monitoring-agent/pull/374 Patch Third Party Advisory
https://github.com/grafana/synthetic-monitoring-agent/pull/375 Third Party Advisory
https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 Release Notes Third Party Advisory
https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8 Mitigation Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-46156 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-46156 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 05, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/commit/d8dc7f9c1c641881cbcf0a09e178b90ebf0f0228 Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/pull/373 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/pull/373 Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/pull/374 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/pull/374 Patch, Third Party Advisory
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/pull/375 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/pull/375 Third Party Advisory
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/releases/tag/v0.12.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8 No Types Assigned https://github.com/grafana/synthetic-monitoring-agent/security/advisories/GHSA-9j4f-f249-q5w8 Mitigation, Third Party Advisory
    Added CWE NIST NVD-CWE-Other
    Added CPE Configuration OR *cpe:2.3:a:grafana:synthetic_monitoring_agent:*:*:*:*:*:*:*:* versions up to (excluding) 0.12.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-46156 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-46156 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.21386

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability