Vulnerability Name:

CVE-2022-29170 (CCN-227079)

Assigned:2022-05-19
Published:2022-05-19
Updated:2022-10-07
Summary:Grafana is an open-source platform for monitoring and observability. In Grafana Enterprise, the Request security feature allows list allows to configure Grafana in a way so that the instance doesn’t call or only calls specific hosts. The vulnerability present starting with version 7.4.0-beta1 and prior to versions 7.5.16 and 8.5.3 allows someone to bypass these security configurations if a malicious datasource (running on an allowed host) returns an HTTP redirect to a forbidden host. The vulnerability only impacts Grafana Enterprise when the Request security allow list is used and there is a possibility to add a custom datasource to Grafana which returns HTTP redirects. In this scenario, Grafana would blindly follow the redirects and potentially give secure information to the clients. Grafana Cloud is not impacted by this vulnerability. Versions 7.5.16 and 8.5.3 contain a patch for this issue. There are currently no known workarounds.
CVSS v3 Severity:8.5 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N)
7.4 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): Low
Availibility (A): None
5.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)
4.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.9 Medium (CVSS v2 Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Medium
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): None
5.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-601
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2022-29170

Source: XF
Type: UNKNOWN
grafana-cve202229170-sec-bypass(227079)

Source: MISC
Type: Issue Tracking, Patch, Third Party Advisory
https://github.com/grafana/grafana/pull/49240

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/grafana/grafana/releases/tag/v7.5.16

Source: MISC
Type: Release Notes, Third Party Advisory
https://github.com/grafana/grafana/releases/tag/v8.5.3

Source: CCN
Type: Grafana GIT Repository
Grafana Enterprise datasource network restrictions bypass via HTTP redirects

Source: CONFIRM
Type: Patch, Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-9rrr-6fq2-4f99

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20220707-0005/

Vulnerable Configuration:Configuration 1:
  • cpe:/a:grafana:grafana:*:*:*:*:enterprise:*:*:* (Version >= 8.0.0 and < 8.5.3)
  • OR cpe:/a:grafana:grafana:*:*:*:*:enterprise:*:*:* (Version >= 7.4.0 and < 7.5.16)

  • * Denotes that component is vulnerable
    BACK
    grafana grafana *
    grafana grafana *