CYREBRO

resource

Grafana Patches Critical Vulnerability due to Azure Integration

June 26, 2023 Grafana has released a security patch for a critical Authentication Bypass vulnerability found in multiple versions of its application. This vulnerability allows attackers to bypass authentication and gain control over any Grafana account that uses Azure Active Directory OAuth with a multi-tenant Azure application and that do not have allowed_groups configured. Grafana is a widely used open-source analytics and visualization app with extensive integration options, which has a wide range of platforms and applications.

The Vulnerability

Affected Products

Mitigation and Workaround

CYREBRO recommends updating software installations to the latest versions. If you cannot upgrade your Grafana instances to a secure version, please review the following workarounds:
  1. Register a single tenant application in Azure AD, which should prevent any login attempts from external tenants (people outside the organization).
  2. Add an "allowed_groups" configuration to the Azure AD settings to limit the sign-in attempts to members of a white-listed group, hence automatically rejecting all attempts using an arbitrary email.
References: Grafana Advisory