Git Product home page Git Product logo

5l1v3r1 / grafana_lfi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 0xagun/grafana_lfi

0.0 1.0 0.0 10 KB

Grafana has a public API endpoint, /public/plugins/:pluginId, which allows you to view a plugin's assets. This works by providing a valid :pluginId and then specifying the file path, such as img/logo.png. However, Grafana fails to sanitize the user provided file path, leading to path traversal.

Python 61.65% HTML 38.35%

grafana_lfi's Introduction

Grafana LFI auto Exploit using Django

Grafana has a public API endpoint, /public/plugins/:pluginId, which allows you to view a plugin's assets. This works by providing a valid :pluginId and then specifying the file path, such as img/logo.png. However, Grafana fails to sanitize the user provided file path, leading to path traversal.


Requirements

Install these packge before using the script

  pip3 install django
  pip3 install urllib3==1.24.3
  pip3 install requests

Screenshots

App Screenshot App Screenshot

How to Use

To start the script, run the following command

  python3 manage.py runserver

after that go to http://127.0.0.1:8000/ to browse the interface, and now just put you'r url without / in the last

Disclaimer

This tool is for educational purpose only, please Don't use this tool for any kind of illigal or mallicious activites. Any misuse of the tool is completelty at your risk. I'm not responsile !!

grafana_lfi's People

Contributors

0xagun avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.