title: User with permissions to create a data source can CRUD all data sources
description:  A user with the permissions to create a data source can use Grafana API to create a data source with UID set to *.
Doing this will grant the user access to read, query, edit and delete all data sources within the organization.
problem types: CWE-269
affected:
{
defaultStatus: unaffected
product: Grafana
vendor: Grafana
versions:
lessThan: 9.5.7, status: affected, version: 8.5.0, versionType: semver
lessThan: 10.0.12, status: affected, version: 10.0.0, versionType: semver
lessThan: 10.1.8, status: affected, version: 10.1.0, versionType: semver
lessThan: 10.2.5, status: affected, version: 10.2.0, versionType: semver
lessThan: 10.3.4, status: affected, version: 10.3.0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: LOW
baseScore: 6
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: LOW
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL