CVE-2022-39328CWE-362

Grafana vulnerable to race condition allowing privilege escalation

Critical · published November 8, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
65.0
In the wild
Unconfirmed
What it is

🔥 A sneaky race condition in Grafana's authentication logic can let an unauthorized user query admin endpoints—especially under heavy load! Think of it like a crowded restaurant where an uninvited guest slips past the host during a busy dinner rush. While everyone’s preoccupied, they can sneak a peek at the kitchen and see all the secret recipes! If an attacker exploits this vulnerability, they could access sensitive administrative data, putting your entire monitoring setup at risk. Imagine unauthorized users rummaging through your system like kids in a candy store—absolutely devastating for your security posture!

Put simply

Think of it like a crowded restaurant where an uninvited guest slips past the host during a busy dinner rush. While everyone’s preoccupied, they can sneak a peek at the kitchen and see all the secret recipes! This race condition allows unauthenticated users to access restricted administrative endpoints by taking advantage of timing discrepancies in the authentication middleware of Grafana versions 9.2.0 to 9.2.3.

What to do

If an attacker exploits this vulnerability, they could access sensitive administrative data, putting your entire monitoring setup at risk. Imagine unauthorized users rummaging through your system like kids in a candy store—absolutely devastating for your security posture! To safeguard your system, immediately upgrade to Grafana version 9.2.4 or later. Since there are no workarounds, a quick patch is critical to close this glaring hole in your security. Don't delay! You've got this! Follow these steps and you'll have your Grafana instance locked down in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01085 · 65.0th percentile
Weakness
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Published
2022-11-08T00:00Z
EPSS history
Timeline
  • 08 NOV 00:00Z
    Grafana vulnerable to race condition allowing privilege escalation
    cvelistv5