{"id":"CVE-2023-3128","published":"2023-06-22T20:14:00Z","modified":"2025-02-13T16:49:48Z","title":"Grafana is validating Azure AD accounts based on the email claim","vendor":"Grafana","product":"Grafana","tier":"tail","description":{"text":"Grafana is validating Azure AD accounts based on the email claim. \n\nOn Azure AD, the profile email field is not unique and can be easily modified. \n\nThis leads to account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant app.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03995,"percentile":0.90766,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://grafana.com/security/security-advisories/cve-2023-3128/","tags":[]},{"url":"https://github.com/grafana/bugbounty/security/advisories/GHSA-gxh2-6vvc-rrgp","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230714-0004/","tags":[]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":18.15},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"grafana","affectedVersions":[{"vendor":"Grafana","product":"Grafana","versions":[">= 9.5.0, < 9.5.4",">= 9.4.0, < 9.4.13",">= 9.3.0, < 9.3.16",">= 9.2.0, < 9.2.20",">= 6.7.0, < 8.5.27"]},{"vendor":"Grafana","product":"Grafana Enterprise","versions":[">= 9.5.0, < 9.5.4",">= 9.4.0, < 9.4.13",">= 9.3.0, < 9.3.16",">= 9.2.0, < 9.2.20",">= 6.7.0, < 8.5.27"]}],"capec":[{"id":"CAPEC-115","name":null}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-12-06T15:26:35.297129Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/grafana/grafana","vulnerableRanges":[">=9.4.0, <9.4.13",">=9.3.0, <9.3.16",">=9.0.0, <9.2.20","<8.5.27"],"patched":["9.4.13","9.3.16","9.2.20","8.5.27"],"from":["GHSA-mpv3-g8m3-3fjc"],"provenance":"source"}],"summary":{"text":"Grafana's Azure AD OAuth authentication identifies users by the profile email field, which on Azure AD is not unique and can be modified by a user. The flaw is present when Azure AD OAuth is configured with a multi-tenant app. An attacker can take over existing accounts and bypass authentication by presenting an Azure AD identity that carries a matching email address, with no prior authentication or user interaction required beyond a network path to the Grafana instance.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:34:51Z"},"euvd":{"id":"EUVD-2023-1845","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-0507","published":"2023-03-01","fixed":"9.3.8","kev":false},{"cve":"CVE-2023-0594","published":"2023-03-01","fixed":"9.3.8","kev":false},{"cve":"CVE-2023-1410","published":"2023-03-23","fixed":"9.4.7","kev":false},{"cve":"CVE-2023-3128","published":"2023-06-22","fixed":"9.4.13","kev":false},{"cve":"CVE-2023-2183","published":"2023-06-06","fixed":"9.5.3","kev":false,"link":{"from":"CVE-2023-2183","to":"CVE-2023-3128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"8.5.26","toFixed":"8.5.27","daysApart":16},{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"9.3.15","toFixed":"9.3.16","daysApart":16}]}},{"cve":"CVE-2023-2801","published":"2023-06-06","fixed":"9.5.3","kev":false,"link":{"from":"CVE-2023-2801","to":"CVE-2023-3128","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/grafana/grafana","fromFixed":"9.4.12","toFixed":"9.4.13","daysApart":16}]}},{"cve":"CVE-2023-6152","published":"2024-02-13","fixed":"10.3.3","kev":false}],"package":"Go:github.com/grafana/grafana"}}