// For flags

CVE-2023-3128

grafana: account takeover possible when using Azure AD OAuth

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

A flaw was found in Grafana, which validates Azure AD accounts based on the email claim. On Azure AD, the profile email field is not unique across Azure AD tenants, which enables Grafana account takeover and authentication bypass when Azure AD OAuth is configured with a multi-tenant AzureAD OAuth application. This may allow an attacker to gain complete control of the user's account, including access to private customer data and sensitive information.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-06-06 CVE Reserved
  • 2023-06-22 CVE Published
  • 2024-07-24 EPSS Updated
  • 2024-08-02 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-290: Authentication Bypass by Spoofing
  • CWE-305: Authentication Bypass by Primary Weakness
CAPEC
  • CAPEC-115: Authentication Bypass
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 6.7.0 < 8.5.27
Search vendor "Grafana" for product "Grafana" and version " >= 6.7.0 < 8.5.27"
-
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 6.7.0 < 8.5.27
Search vendor "Grafana" for product "Grafana" and version " >= 6.7.0 < 8.5.27"
enterprise
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.2.0 < 9.2.20
Search vendor "Grafana" for product "Grafana" and version " >= 9.2.0 < 9.2.20"
-
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.2.0 < 9.2.20
Search vendor "Grafana" for product "Grafana" and version " >= 9.2.0 < 9.2.20"
enterprise
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.3.0 < 9.3.16
Search vendor "Grafana" for product "Grafana" and version " >= 9.3.0 < 9.3.16"
-
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.3.0 < 9.3.16
Search vendor "Grafana" for product "Grafana" and version " >= 9.3.0 < 9.3.16"
enterprise
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.4.0 < 9.4.13
Search vendor "Grafana" for product "Grafana" and version " >= 9.4.0 < 9.4.13"
-
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.4.0 < 9.4.13
Search vendor "Grafana" for product "Grafana" and version " >= 9.4.0 < 9.4.13"
enterprise
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.5.0 < 9.5.4
Search vendor "Grafana" for product "Grafana" and version " >= 9.5.0 < 9.5.4"
-
Affected
Grafana
Search vendor "Grafana"
Grafana
Search vendor "Grafana" for product "Grafana"
>= 9.5.0 < 9.5.4
Search vendor "Grafana" for product "Grafana" and version " >= 9.5.0 < 9.5.4"
enterprise
Affected