Grafana Identity Authentication Bypass Vulnerability (CVS 2023-3128) Notification

Grafana Identity Authentication Bypass Vulnerability (CVS 2023-3128) Notification

June 30, 2023 | NSFOCUS

Overview

Recently, NSFOCUS CERT detected a vulnerability in Grafana’s authentication bypass (CVE-2023-3128). Azure AD can support multiple users with the same email address. When configuring Azure AD to support multiple users, unauthenticated attackers can exploit this vulnerability by creating malicious email account requests. Due to Grafana’s failure to uniquely authenticate Azure AD email accounts based on email addresses, attackers can bypass authentication and take over the target user’s Grafana account, Attackers who control user accounts can access sensitive data information. The CVSS score is 9.4, affected users should take measures as soon as possible.

Reference link: https://grafana.com/blog/2023/06/22/grafana-security-release-for-cve-2023-3128/

Scope of Impact

Affected version

  • Grafana>=6.7.0

Unaffected version

  • Grafana>=10.0.1
  • Grafana>=9.5.5
  • Grafana>=9.4.13
  • Grafana>=9.3.16
  • Grafana>=9.2.20
  • Grafana>=8.5.27

Mitigation

Official upgrade

Currently, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade their protection as soon as possible: https://grafana.com/grafana/download

Mitigation measures

  1. Allow_ Add groups configuration to Azure AD configuration to ensure that attackers cannot use arbitrary emails.
  2. Register a single tenant application in Azure AD to prevent any login attempts from external tenants.

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.

NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).

A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.