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

Exp

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.

公開: 2022-02-08 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2022-21702 は悪用リスクが高い(70.9/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 2.36%、81 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 直近 1 日で EPSS が +1.35% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2022-21702 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

CVE-2022-21702 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 1.01% 2.36% +1.35%
2 2026-05-22 1.24% 1.01% -0.24%
3 2026-03-27 1.24%

EPSS の全履歴 (全 25 件)

CVE-2022-21702 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.3 4.7 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.3 2.7 [email protected]
2.1 2.0 LOW
AV:N/AC:H/Au:S/C:N/I:P/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:H)
ごく限られた構成・タイミングでしか成立しない。
認証 (AU:S)
一度の認証(シングルサインオン含む)を突破すればよい。
機密性への影響 (C:N)
機密性は損なわれない。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:N)
可用性は損なわれない。
3.9 2.9 [email protected]

CVE-2022-21702 の弱点分類(列挙)

CVE-2022-21702 の GitHub Security Advisory

GHSA-xc3p-28hw-q24g · 深刻度: medium · エコシステム: go — Grafana proxy Cross-site Scripting

CVE-2022-21702 の OS トラッカー

vendor priority summary link
alpine medium CVE-2022-21702: 1 source package rows (grafana); 21 state rows across 7 repos (3.17-community, 3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 7, open 14. https://security.alpinelinux.org/vuln/CVE-2022-21702
redhat medium https://access.redhat.com/security/cve/CVE-2022-21702
suse medium https://www.suse.com/security/cve/CVE-2022-21702/
ubuntu medium CVE-2022-21702 medium priority: Ubuntu including 1 source packages (grafana), 9 status rows across 9 suites (focal, jammy, mantic, noble, oracular, plucky, questing, upstream, xenial): DNE 7, needs-triage 2. https://ubuntu.com/security/CVE-2022-21702

CVE-2022-21702 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
grafana grafana >= 2.0.1, < 7.5.15 cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
grafana grafana >= 8.0.0, < 8.3.5 cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
grafana grafana 2.0.0 cpe:2.3:a:grafana:grafana:2.0.0:beta1:*:*:*:*:*:*
grafana grafana 2.0.0 cpe:2.3:a:grafana:grafana:2.0.0:beta3:*:*:*:*:*:*
netapp e-series_performance_analyzer < 3.0 cpe:2.3:a:netapp:e-series_performance_analyzer:*:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*

CVE-2022-21702 の参考情報

URL タグ
https://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85 Patch Third Party Advisory
https://github.com/grafana/grafana/security/advisories/GHSA-xc3p-28hw-q24g Exploit Mitigation Release Notes Third Party Advisory
https://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/ Release Notes Vendor Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2PFW6Q2LXXWTFRTMTRN4ZGADFRQPKJ3D/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36GUEPA5TPSC57DZTPYPBL6T7UPQ2FRH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HLAQRRGNSO5MYCPAXGPH2OCSHOGHSQMQ/
https://security.netapp.com/advisory/ntap-20220303-0005/ Third Party Advisory
cvelogic Threat Intelligence