Advisories
GrafanaCVE advisory
CVE-2022-21713: Grafana Teams API IDOR
An IDOR in Grafana's Teams API let authenticated users view team data not meant for them.
- CVSS 3.1
- 4.3
- severity
- Medium
- endpoints affected
- 3
- public release
- Feb 2022
Score
CVSS 3.1, from Grafana's advisory.
4.3MediumCVSS 3.1 base score
- Attack vectorNetwork
- Attack complexityLow
- Privileges requiredLow
- User interactionNone
- ScopeUnchanged
- ConfidentialityLow
- IntegrityNone
- AvailabilityNone
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
The request flow
From Grafana's advisory.
- AccessAuthenticated user
- RequestQueries a team IDattacker in control
- FlawIDOR in the Teams API
- ImpactUnintended team data
Affected and fixed
- Affected
- All Grafana versions from 5.0.0-beta1
- Fixed in
- Grafana 8.3.5 and 7.5.15
- Grafana Cloud
- Patched
- Cloud providers
- Licensed providers, including Amazon Managed Grafana, were notified under embargo
Impact by endpoint
From Grafana's advisory.
| Endpoint | Impact |
|---|---|
/teams/:teamId | An authenticated attacker could view unintended data by querying a team ID. |
/teams/:search | An authenticated attacker could see the total number of teams, including ones they cannot access. |
/teams/:teamId/members | When editors_can_admin is enabled, an authenticated attacker could see unintended member data. |
Disclosure timeline
Grafana's advisory, UTC.
- Reported to Grafana
- Confirmed reproducible
- CVE issued and fix PR opened
- Private release
- Public release: Grafana 8.3.5 and 7.5.15
Facts
- Credit
- External security researcher, credited by Grafana.
- Severity
- Severity: Medium
- Status
- Fixed
- Public release
Summary
An insecure direct object reference (IDOR) in Grafana's Teams API. An authenticated attacker could view unintended data by querying a team ID, and see the total number of teams, including ones they cannot access. With editors_can_admin enabled, they could also see unintended member data. Grafana fixed it in 8.3.5 and 7.5.15 and credited me as the external security researcher. My report included reproducible request evidence and impact analysis.
Sources
4 links, opening outside this site.