Auth bypass in Grafana
CVE-2022-21713
Grafana is an open-source platform for monitoring and observability. Affected versions of Grafana expose multiple API endpoints which do not properly handle user authorization. `/teams/:teamId` will allow an authenticated attacker to view unintended data by querying for the specific team ID, `/teams/:search` will allow an authenticated attacker to search for teams and see the total number of available teams, including for those teams that the user does not have access to, and `/teams/:teamId/members` when editors_can_admin flag is enabled, an authenticated attacker can see unintended data by querying for the specific team ID. Users are advised to upgrade as soon as possible. There are no known workarounds for this issue.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.012, 68.1th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Grafana — versions 5.0.0, >= 8.0.0, < 8.3.5, >= 5.0.0-beta1, < 7.5.15
- NetApp E-Series Performance Analyzer
- Fedoraproject Fedora — versions 34, 35, 36
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-sev… (Release Notes, Vendor Advisory)
- github.com/grafana/grafana/pull/45083 (Patch, Third Party Advisory, Issue Tracking)
- github.com/grafana/grafana/security/advisories/GHSA-63g3-9jq3-mccv (Third Party Advisory, Release Notes)
- security.netapp.com/advisory/ntap-20220303-0005/ (Third Party Advisory)
- FEDORA-2022-83405f9d5b (vendor-advisory)
- FEDORA-2022-9dd03cab55 (vendor-advisory)
- FEDORA-2022-c5383675d9 (vendor-advisory)