POC详情: 80e096f6775bde417cf939be7a8b18f7f529d1f2

来源
关联漏洞
标题: Grafana 路径遍历漏洞 (CVE-2021-43798)
描述:Grafana是Grafana实验室的一套提供可视化监控界面的开源监控工具。该工具主要用于监控和分析Graphite、InfluxDB和Prometheus等。 Grafana 8.0.0-beta1至8.3.0存在路径遍历漏洞,攻击者可利用该漏洞执行目录遍历攻击,访问本地文件。
介绍
# CVE-2021-43798 Grafana-Arbitrary-File-Read (8.0.0 ~~ 8.3.0)

A vulnerability in Grafana (CVE-2021-43798) versions 8.0.0 ~~ 8.3.0  that allows an unauthenticated attacker to read arbitrary files from the server by leveraging a path traversal aimed towards the `/public/plugins/<plugin>` path to access sensitive files on the system.

# Usage

`python3 exploit.py --domain <example.com> --port <PORT>`


  1) The script automatically tests a lit of possibly vulnerable paths
  2) Interactive Shell: Once a vulnerable endpoint is found, the script prompts for a file path to read form the server.

# Shell Example:

![image](https://github.com/user-attachments/assets/991978c0-112c-4aa1-982e-b3fffa0520e3)


# References
[CVE-2021-43789](https://grafana.com/blog/2021/12/07/grafana-8.3.1-8.2.7-8.1.8-and-8.0.7-released-with-high-severity-security-fix/).



Disclaimer
This script is for educational purposes.
文件快照

[4.0K] /data/pocs/80e096f6775bde417cf939be7a8b18f7f529d1f2 ├── [5.6K] exploit.py └── [ 908] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。