Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-21702— Cross site scripting in Grafana proxy

Quick assessment

Affected
grafana grafana
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Grafana是Grafana实验室的一套提供可视化监控界面的开源监控工具。该工具主要用于监控和分析Graphite、InfluxDB和Prometheus等。 Grafana 中存在跨站脚本漏洞,该漏洞源于产品未对Grafana数据源或插件代理提供的HTML内容进行有效检查。攻击者可通过诱骗用户打开这个页面破坏现有的数据源。 以下产品及版本受到影响:Grafana 2.0.0-beta1 至 8.3.4 版本。

CVSS 6.5 · Medium EPSS 2.34% · P82
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-21702

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cross site scripting in Grafana proxy
Source: CVE Program / CVE List V5
Vulnerability Description
Grafana is an open-source platform for monitoring and observability. In affected versions an attacker could serve HTML content thru the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site Scripting (XSS) attack. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Grafana 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Grafana是Grafana实验室的一套提供可视化监控界面的开源监控工具。该工具主要用于监控和分析Graphite、InfluxDB和Prometheus等。 Grafana 中存在跨站脚本漏洞,该漏洞源于产品未对Grafana数据源或插件代理提供的HTML内容进行有效检查。攻击者可通过诱骗用户打开这个页面破坏现有的数据源。 以下产品及版本受到影响:Grafana 2.0.0-beta1 至 8.3.4 版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
grafana grafana >= 2.0.0-beta1, < 7.5.15 -

II. Public POCs for CVE-2022-21702

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-21702

登录查看更多情报信息。

Patches & Fixes for CVE-2022-21702 (1)

Vendor Advisories for CVE-2022-21702 (2)

Mailing List Discussions for CVE-2022-21702 (3)

Same Patch Batch · grafana · 2022-02-08 · 3 CVEs total

CVE-2022-21703 6.3 MEDIUM Cross Site Request Forgery in Grafana
CVE-2022-21713 4.3 MEDIUM Exposure of Sensitive Information in Grafana

IV. Related Vulnerabilities

V. Comments for CVE-2022-21702

No comments yet


Leave a comment