Session takeover via Auth Proxy cache key collision
Grafana Enterprise · Grafana OSS
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana Enterprise |
| No fix yet |
| Grafana Grafana OSS |
|
Grafana Enterprise · Grafana OSS
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana Enterprise |
| No fix yet |
| Grafana Grafana OSS |
|
≥ 12.0.0 · ≤ 12.2.11≥ 12.3.0 · ≤ 12.3.11≥ 12.4.0 · ≤ 12.4.9≥ 13.0.0 · ≤ 13.0.7≥ 13.1.0 · ≤ 13.1.4| No fix yet |
Only self-managed Grafana instances with Auth Proxy authentication and identity caching enabled (sync_ttl greater than zero) are affected. The Auth Proxy cache key concatenated the username and forwarded identity attributes without a delimiter, so distinct identities could collide on one key. An authenticated user who shapes their own attributes to collide with a higher-privileged user's, while that user's cache entry is live, is authenticated as that user, up to Administrator (authentication bypass by spoofing).
From the CVE record · GRAFANA
Self-managed Grafana Enterprise and Grafana OSS instances are vulnerable when Auth Proxy authentication and identity caching are enabled (sync_ttl greater than zero). An authenticated user can shape their own identity attributes to collide with a higher-privileged user's cache key and be authenticated as that user while the higher-privileged user's cache entry is live, potentially gaining Administrator access.
Operators of self-managed Grafana Enterprise or Grafana OSS instances using Auth Proxy authentication with sync_ttl greater than zero should check their deployments; affected versions were not specified.