cve.bz

CVE-2023-3128 grafana grafana: Authentication Bypass by Spoofing

9.8 criticalEPSS 4.0%Fix available

Critical (9.8) in grafana grafana. EPSS 4.0% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/grafana/grafana 8.5.27, 9.2.20, 9.3.16.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.0% (unchanged from 4.0% a week ago; 4.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 91st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2024-12-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-290 Authentication Bypass by Spoofing
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3128 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3128?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3128?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3128 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Grafanafrom 9.5.0 before 9.5.4
Grafanafrom 9.4.0 before 9.4.13
Grafanafrom 9.3.0 before 9.3.16
Grafanafrom 9.2.0 before 9.2.20
Grafanafrom 6.7.0 before 8.5.27
Grafana Enterprisefrom 9.5.0 before 9.5.4
Grafana Enterprisefrom 9.4.0 before 9.4.13
Grafana Enterprisefrom 9.3.0 before 9.3.16
Grafana Enterprisefrom 9.2.0 before 9.2.20
Grafana Enterprisefrom 6.7.0 before 8.5.27

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mpv3-g8m3-3fjcGogithub.com/grafana/grafana>=9.4.0 <9.4.139.4.13
GHSA-mpv3-g8m3-3fjcGogithub.com/grafana/grafana>=9.3.0 <9.3.169.3.16
GHSA-mpv3-g8m3-3fjcGogithub.com/grafana/grafana>=9.0.0 <9.2.209.2.20
GHSA-mpv3-g8m3-3fjcGogithub.com/grafana/grafana<8.5.278.5.27

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTSgrafanano fix listedUBUNTU-CVE-2023-3128
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-194.el8cpRHSA-2024:3925
Red Hatceph_storage:7.1::el8gperftools, gperftools-libs, gperftools-debugsource and 1 more1:2.7-9.el8cpRHSA-2024:3925
Red Hatceph_storage:7.1::el8liboath, oath-toolkit, liboath-debuginfo and 6 more0:2.6.2-3.el8cpRHSA-2024:3925
Red Hatceph_storage:7.1::el8libunwind, libunwind-debuginfo, libunwind-debugsource0:1.3.1-3.el8cpRHSA-2024:3925
Red Hatceph_storage:7.1::el8thrift, thrift-debuginfo, thrift-debugsource and 4 more0:0.13.0-2.el8cpRHSA-2024:3925
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-194.el9cpRHSA-2024:3925
Red Hatceph_storage:7.1::el9cephadm-ansible1:3.2.0-1.el9cpRHSA-2024:3925
Red Hatenterprise_linux:8::appstreamgrafana, grafana-debuginfo, grafana-debugsource0:9.2.10-7.el8_9RHSA-2023:6972
Red Hatenterprise_linux:9::appstreamgrafana, grafana-debuginfo, grafana-debugsource0:9.0.9-3.el9_2RHSA-2023:4030
Red Hatenterprise_linux:9::appstreamgrafana, grafana-debuginfo, grafana-debugsource0:9.2.10-7.el9_3RHSA-2023:6420
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 moresupportutils-plugin-salt1.2.3-150000.3.16.1SUSE-SU-2025:0525-1
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Module for Package Hub 15 SP5grafana9.5.5-150200.3.44.1SUSE-SU-2023:2917-1
SUSELinux Enterprise Module for Package Hub 15 SP6golang-github-prometheus-promu0.17.0-150000.3.24.1SUSE-SU-2025:0525-1
SUSELinux Enterprise Module for Package Hub 15 SP6grafana10.4.13-150200.3.59.1SUSE-SU-2025:0545-1
SUSEManager Client Tools 12golang-github-prometheus-prometheus2.53.3-1.56.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12golang-github-prometheus-promu0.17.0-1.24.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12grafana10.4.13-1.66.2SUSE-SU-2025:0524-1
SUSEManager Client Tools 12grafana9.5.5-1.51.1SUSE-SU-2023:2916-1
SUSEManager Client Tools 12spacecmd5.0.11-38.153.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12supportutils-plugin-salt1.2.3-6.25.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12supportutils-plugin-susemanager-client5.0.4-6.33.1SUSE-SU-2025:0524-1
SUSEManager Client Tools 12uyuni-tools0.1.28-1.16.1SUSE-SU-2025:0524-1
45 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4, Leap 15.5grafana9.5.5-150200.3.44.1SUSE-SU-2023:2917-1
openSUSELeap 15.6dracut-saltboot0.1.1728559936.c16d4fb-150000.1.56.1SUSE-SU-2025:0525-1
openSUSELeap 15.6golang-github-prometheus-promu0.17.0-150000.3.24.1SUSE-SU-2025:0525-1
openSUSELeap 15.6grafana10.4.13-150200.3.59.1SUSE-SU-2025:0545-1
openSUSELeap 15.6spacecmd5.0.11-150000.3.130.1SUSE-SU-2025:0525-1
openSUSELeap 15.6supportutils-plugin-salt1.2.3-150000.3.16.1SUSE-SU-2025:0525-1
openSUSELeap 15.6supportutils-plugin-susemanager-client5.0.4-150000.3.27.1SUSE-SU-2025:0525-1
openSUSETumbleweedgrafana10.0.1-1.1openSUSE-SU-2024:13018-1
AlmaLinux8grafana9.2.10-7.el8_9.alma.1ALSA-2023:6972
AlmaLinux9grafana9.0.9-3.el9_2.almaALSA-2023:4030
Rocky Linux9grafana0:9.0.9-3.el9_2RLSA-2023:4030

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability affecting Red Hat Enterprise Linux 8 and 9 has been categorized as moderate, primarily because Azure Active Directory access is not supported by default in Grafana configurations. Specifically, it remains disabled in the Grafana configuration file located at /etc/grafana/grafana.ini within the Azure AD section. Even if someone were to enable Azure Active Directory access, they retain the option to easily revert it back to the default state, ensuring it remains disabled.

Red Hat's mitigation

We recommend disabling Active Directory in the Grafana configuration file until a fix is provided.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1ceph-2:18.2.1-194.el8cpFixed 2024-06-14RHSA-2024:3925
Red Hat Enterprise Linux 8grafana-0:9.2.10-7.el8_9Fixed 2023-11-14RHSA-2023:6972
Red Hat Enterprise Linux 9grafana-0:9.0.9-3.el9_2Fixed 2023-07-12RHSA-2023:4030
Cryostat 2grafanaNot affected
OpenShift Service Mesh 2.1servicemesh-grafanaOut of support scope
Red Hat Ceph Storage 3grafanaNot affected
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Not affected
Red Hat Ceph Storage 5rhceph/rhceph-5-dashboard-rhel8Not affected
Red Hat OpenShift Container Platform 4grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat Storage 3grafanaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3128.

Attack patterns (CAPEC)

  • CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-59 Session Credential Falsification through Prediction Likelihood: High · Severity: High
  • CAPEC-60 Reusing Session IDs (aka Session Replay) Likelihood: High · Severity: High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-461 Web Services API Signature Forgery Leveraging Hash Function Extension Weakness Severity: High
  • CAPEC-473 Signature Spoof
  • CAPEC-476 Signature Spoofing by Misrepresentation Likelihood: Low · Severity: High
  • CAPEC-667 Bluetooth Impersonation AttackS (BIAS) Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON