一、 漏洞 CVE-2025-4123 基础信息
漏洞信息
                                        # N/A

## 漏洞概述
Grafana 存在一个跨站脚本 (XSS) 漏洞,该漏洞由客户端路径遍历和开放重定向结合引起。攻击者可以利用此漏洞将用户重定向到托管前端插件的网站,这些插件可以执行任意 JavaScript 代码。

## 影响版本
未明确指出具体影响版本

## 漏洞细节
- **具体组合漏洞**:客户端路径遍历和开放重定向结合。
- **攻击场景**:攻击者可以将用户重定向到托管恶意前端插件的网站,这些插件可以执行任意 JavaScript 代码。
- **权限要求**:该漏洞不需要编辑权限。
- **匿名访问**:如果启用了匿名访问,XSS 攻击将有效。
- **附加影响**:如果安装了 Grafana Image Renderer 插件,攻击者可以通过开放重定向实现完整的读取 SSRF 攻击。

## 漏洞影响
- **默认 Content-Security-Policy (CSP)**:默认 CSP (通过 `connect-src` 指令) 可以阻止 XSS 攻击。
- **攻击可能性**:尽管存在默认的 CSP,但在某些配置中仍可能存在 XSS 攻击的风险。
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
N/A
来源:美国国家漏洞数据库 NVD
漏洞描述信息
A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect. This allows attackers to redirect users to a website that hosts a frontend plugin that will execute arbitrary JavaScript. This vulnerability does not require editor permissions and if anonymous access is enabled, the XSS will work. If the Grafana Image Renderer plugin is installed, it is possible to exploit the open redirect to achieve a full read SSRF. The default Content-Security-Policy (CSP) in Grafana will block the XSS though the `connect-src` directive.
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
来源:美国国家漏洞数据库 NVD
漏洞类别
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源:美国国家漏洞数据库 NVD
漏洞标题
Grafana 安全漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Grafana是Grafana开源的一套提供可视化监控界面的开源监控工具。该工具主要用于监控和分析Graphite、InfluxDB和Prometheus等。 Grafana存在安全漏洞,该漏洞源于客户端路径遍历和开放重定向结合,可能导致跨站脚本攻击。
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
其他
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2025-4123 的公开POC
# POC 描述 源链接 神龙链接
1 An open redirect vulnerability in Grafana can be chained with other issues, such as XSS or SSRF, to increase impact. An attacker may exploit the redirect to target internal services or deliver malicious JavaScript, potentially leading to internal data exposure or account takeover. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-4123.yaml POC详情
三、漏洞 CVE-2025-4123 的情报信息