VDB
Sign up
MEDIUM5.8

GHSA-wc9w-wvq2-ffm9

Server Side Request Forgery in Grafana

Quick fix

GHSA-wc9w-wvq2-ffm9 — github.com/grafana/grafana: upgrade to the fixed version with the command below.

go get github.com/grafana/grafana@v6.7.4

Details

The avatar feature in Grafana (github.com/grafana/grafana/pkg/api/avatar) 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control issue that allows remote code execution. 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/grafana/grafana
Introduced in: 3.0.1Fixed in: 6.7.4
Fixgo get github.com/grafana/grafana@v6.7.4
Go/github.com/grafana/grafana
Introduced in: 7.0.0Fixed in: 7.0.2
Fixgo get github.com/grafana/grafana@v7.0.2

References