ADVISORIES

GitHub Advisory Database

GHSA-mpv3-g8m3-3fjc

Grafana vulnerable to Authentication Bypass by Spoofing

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/grafana/grafana
From 9.4.0 before 9.4.13 (fixed in 9.4.13)
Gogithub.com/grafana/grafana
From 9.3.0 before 9.3.16 (fixed in 9.3.16)
Gogithub.com/grafana/grafana
From 9.0.0 before 9.2.20 (fixed in 9.2.20)
Gogithub.com/grafana/grafana
All versions before 8.5.27 (fixed in 8.5.27)

References