services / Azure / Cosmos DB SQL role definition
A Cosmos DB native (SQL API) data-plane RBAC role definition specifying a set of data actions and assignable scopes within a database account.
Access-control policy governing data-plane access to a production database; reading/altering these definitions affects who can read and write the account's data.
Microsoft.DocumentDB/databaseAccounts/sqlRoleDefinitions/write
Creating or updating a SQL role definition lets an attacker inject arbitrary data-plane permissions, escalating the access of every principal bound to that role within the database account.
Risks
Scope: CRITICAL
This privilege may grant access to sensitive data from a significant fraction of organizational functions, allow interruption of critical organizational services, or its exploit could lead to significant privilege escalation.
Links
Contributed by P0 Security