CVE-2020-13379 in grafana

LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.

What the vulnerability is

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 software: grafana, netapp e-series performance analyzer, opensuse backports sle, fedoraproject fedora, opensuse leap

Scores

What LogPulse has for it

How to mitigate it

Upgrade Grafana to 6.7.4 or 7.0.2 or later (avatar SSRF, CVE-2020-13379)

Patch or upgrade. Grafana 3.0.1 to 7.0.1 lets an unauthenticated user make the server send requests to arbitrary addresses through the avatar endpoint, which can crash the server or reach internal services. Upgrading to 6.7.4, 7.0.2 or a later release removes the flaw.

Applies to: Grafana 3.0.1 to 6.7.3 and 7.0.0 to 7.0.1.

  1. Find the Grafana version: the help menu (question mark) in the web UI, or 'grafana-server -v' on the server.
  2. Back up grafana.ini and the Grafana database.
  3. Upgrade the grafana or grafana-enterprise package to 6.7.4, 7.0.2 or preferably a current supported release; for Docker pull the matching grafana/grafana image.
  4. Restart Grafana and check the version in the help menu.
  5. If you cannot upgrade at once, block requests to /avatar/ on the reverse proxy and keep Grafana off the internet.

Sources:

Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.

We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.

Start free with LogPulse