VDB
Sign up
CRITICAL9.4

GHSA-mpv3-g8m3-3fjc

Grafana vulnerable to Authentication Bypass by Spoofing

Quick fix

GHSA-mpv3-g8m3-3fjc — github.com/grafana/grafana: upgrade to the fixed version with the command below.

go get github.com/grafana/grafana@v9.4.13

Details

Grafana is validating Azure AD accounts based on the email claim.

On Azure AD, the profile email field is not unique and can be easily modified.

This leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/grafana/grafana
Introduced in: 9.4.0Fixed in: 9.4.13
Fixgo get github.com/grafana/grafana@v9.4.13
Go/github.com/grafana/grafana
Introduced in: 9.3.0Fixed in: 9.3.16
Fixgo get github.com/grafana/grafana@v9.3.16
Go/github.com/grafana/grafana
Introduced in: 9.0.0Fixed in: 9.2.20
Fixgo get github.com/grafana/grafana@v9.2.20
Go/github.com/grafana/grafana
Introduced in: 0Fixed in: 8.5.27
Fixgo get github.com/grafana/grafana@v8.5.27

References