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
EPSS: 0.012 (63.8th percentile) — read the EPSS interpretation.
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.
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 proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_MISC, Release Notes, Vendor Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory, Release Notes)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_FEDORA, vendor-advisory)
- security-advisories@github.com (x_refsource_FEDORA, vendor-advisory)
- security-advisories@github.com (x_refsource_FEDORA, vendor-advisory)
Frequently asked questions
- What is CVE-2022-21713?
- CVE-2022-21713 is a medium-severity vulnerability in Grafana, classified under Incorrect Authorization. CVSS score: 4.3/10. Published 2022-02-08.
- How severe is CVE-2022-21713?
- Medium severity. CVSS v3 base score is 4.3 out of 10.
- Is CVE-2022-21713 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.