Vulnerability · Published Jun 22, 2023 · Assigned by GRAFANA

CVE-2023-3128

Critical 9.4

In plain English

A critical-severity authentication bypass by spoofing in Grafana from Grafana. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.4Critical
Exploit odds (30 days)4.0%top 9.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

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 & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8grafana9.2.10-7.el8_9.alma.1ALSA-2023:6972
AlmaLinux:9grafana9.0.9-3.el9_2.almaALSA-2023:4030
Gogithub.com/grafana/grafana9.4.13GHSA-mpv3-g8m3-3fjc
Gogithub.com/grafana/grafana8.5.27GHSA-mpv3-g8m3-3fjc
Gogithub.com/grafana/grafana9.3.16GHSA-mpv3-g8m3-3fjc
Gogithub.com/grafana/grafana9.2.20GHSA-mpv3-g8m3-3fjc
Rocky Linux:9grafana0:9.0.9-3.el9_2RLSA-2023:4030

Affected products (as reported)

VendorProductVersions
Grafana Grafana 9.5.0 – before 9.5.49.4.0 – before 9.4.139.3.0 – before 9.3.169.2.0 – before 9.2.206.7.0 – before 8.5.27
Grafana Grafana Enterprise 9.5.0 – before 9.5.49.4.0 – before 9.4.139.3.0 – before 9.3.169.2.0 – before 9.2.206.7.0 – before 8.5.27

Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

References