Grafana: Authentication Bypass by Spoofing
CVE-2023-3128 is a critical-severity authentication bypass by spoofing vulnerability in Grafana, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists versions 9.5.4, 9.4.13, 9.3.16 as the first without the flaw, so updating Grafana to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 4% chance of exploitation within 30 days, which is in the top 9.31% of all scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update Grafana to 9.5.4 or 9.4.13 or 9.3.16 or 9.2.20, whichever matches your release line, or a later version.
- Update Grafana Enterprise to 9.5.4 or 9.4.13 or 9.3.16 or 9.2.20, whichever matches your release line, or a later version.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Grafana | Grafana | 9.5.0 up to, but not including, 9.5.4; 9.4.0 up to, but not including, 9.4.13; 9.3.0 up to, but not including, 9.3.16; 9.2.0 up to, but not including, 9.2.20; 6.7.0 up to, but not including, 8.5.27 | 9.5.4, 9.4.13, 9.3.16, 9.2.20, 8.5.27 |
| Grafana | Grafana Enterprise | 9.5.0 up to, but not including, 9.5.4; 9.4.0 up to, but not including, 9.4.13; 9.3.0 up to, but not including, 9.3.16; 9.2.0 up to, but not including, 9.2.20; 6.7.0 up to, but not including, 8.5.27 | 9.5.4, 9.4.13, 9.3.16, 9.2.20, 8.5.27 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.4 | Critical | CNA (grafana.com) |
| CVSS 3.1 | 9.8 | Critical | NVD |
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.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Authentication Bypass by Spoofing
This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.
More Authentication Bypass by Spoofing vulnerabilities (CWE-290)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- security.netapp.com/advisory/ntap-20230714-0004/Third Party Advisory
Other vulnerabilities in Grafana
- 8.1 High severity
- 7.5 High severity
- 7.5 High severity
- 7.5 High severity
- 8.1 High severity
- 7.1 High severity
Recent Authentication Bypass by Spoofing vulnerabilities
- 9.8 Critical severity
- 7.5 High severity
- 8.8 High severity
- 7.5 High severity
- 9.8 Critical severity
- 7.5 High severity
Spotted an error? Tell us.