CyberSecBulletin
CVE-2023-3128NVD status: Modified

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.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. 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.
  2. 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.
  3. Read the advisory on github.com for workarounds and exact fixed builds.
  4. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
GrafanaGrafana9.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.279.5.4, 9.4.13, 9.3.16, 9.2.20, 8.5.27
GrafanaGrafana Enterprise9.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.279.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 systemScoreSeverityScored by
CVSS 3.19.4CriticalCNA (grafana.com)
CVSS 3.19.8CriticalNVD

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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Grafana

All Grafana vulnerabilities

Recent Authentication Bypass by Spoofing vulnerabilities

Spotted an error? Tell us.