中危 在Web页面生成时对输入的转义处理不恰当(跨站脚本)

CVE编号

CVE-2022-23552

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-01-28
漏洞描述
Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.16, 9.2.10, or 9.3.4 to receive a fix.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 grafana grafana * From
(including)
8.1.0
Up to
(excluding)
8.5.16
运行在以下环境
应用 grafana grafana * From
(including)
9.0.0
Up to
(excluding)
9.2.10
运行在以下环境
应用 grafana grafana * From
(including)
9.3.0
Up to
(excluding)
9.3.4
运行在以下环境
系统 alma_linux_9 grafana * Up to
(excluding)
9.2.10-7.el9_3.alma.1
运行在以下环境
系统 opensuse_Leap_15.4 grafana * Up to
(excluding)
8.5.20-150200.3.35.1
运行在以下环境
系统 oracle_9 grafana * Up to
(excluding)
9.2.10-7.el9_3
运行在以下环境
系统 redhat_9 grafana * Up to
(excluding)
9.2.10-7.el9_3
阿里云评分
4.9
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    管控权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
阿里云安全产品覆盖情况