cbcvebase.
CVE-2020-13379
published 2020-06-03

CVE-2020-13379: The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. This vulnerability allows any unauthenticated user/client to make…

PriorityP183high8.2CVSS 3.1
AVNACLPRNUINSUCLINAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
99.86%
100.0th percentile
The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue. This vulnerability allows any unauthenticated user/client to make Grafana send HTTP requests to any URL and return its result to the user/client. This can be used to gain information about the network that Grafana is running on. Furthermore, passing invalid URL objects could be used for DOS'ing Grafana via SegFault.

Affected

7 ranges
VendorProductVersion rangeFixed in
fedoraprojectfedora
fedoraprojectfedora
github.comgrafana_grafana>= 3.0.1 < 6.7.46.7.4
github.comgrafana_grafana>= 7.0.0 < 7.0.27.0.2
grafanagrafana3.0.1 – 7.0.1
opensusebackports_sle
opensuseleap

Detection & IOCsextracted from sources · hover to see the quote

path/avatar/%7B%7Bprintf%20%22%25s%22%20%22this.Url%22%7D%7D
path/avatar/1%3fd%3dhttp%3A%252F%252Fimgur.com%252F..%25252F1.1.1.1
path/grafana/avatar/1%3fd%3dhttp%3A%252F%252Fimgur.com%252F..%25252F1.1.1.1
path/avatar/*
  • Detect SSRF exploitation attempts against the Grafana avatar endpoint by monitoring HTTP GET requests to /avatar/* paths, especially those containing URL-encoded characters or redirect parameters (e.g., %3fd%3d, %3A%252F%252F) indicating an attempt to proxy arbitrary URLs.
  • Detect DoS exploitation attempts by monitoring for requests to /avatar/ containing template injection payloads such as URL-encoded double curly braces (%7B%7B...%7D%7D) which trigger a SegFault/NULL pointer dereference in Grafana.
  • Nuclei template detection: match HTTP 200 response with body containing both 'cloudflare.com' and 'dns', and Content-Type header containing 'image/jpeg', indicating successful SSRF via the avatar endpoint.
  • The vulnerability is exploitable by unauthenticated users; alert on any unauthenticated (no session cookie / Authorization header) requests hitting /avatar/* paths in Grafana access logs.
  • Use Shodan/FOFA queries to identify exposed Grafana instances for proactive asset discovery: Shodan: title:"Grafana", FOFA: title="grafana", Google: intitle:"grafana".
  • ·In OpenShift Container Platform (OCP) and OpenShift ServiceMesh (OSSM), Grafana is behind OpenShift OAuth, restricting unauthenticated external access to the vulnerable path. However, other pods within the cluster network can still reach the vulnerable URL and perform SSRF or DoS attacks.
  • ·The Nuclei template uses a stop-at-first-match strategy across two path variants (/avatar/... and /grafana/avatar/...), meaning detection coverage depends on which deployment path prefix is in use.

CVSS provenance

nvdv3.18.2HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
nvdv2.06.4MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:P
vulncheck8.2HIGH
vendor_redhat8.2HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.