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/​delete

Deleting a SQL role definition destroys an access-control policy object and breaks every assignment referencing it, revoking legitimate principals' data-plane access to the 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

  • https:​/​/​azure.​permissions.​cloud/​iam/​Microsoft.​DocumentDB
  • https:​/​/​learn.​microsoft.​com/​en-​us/​azure/​role-​based-​access-​control/​resource-​provider-​operations
  • Contributed by P0 Security

    © 2023–present P0 Security and contributors to the IAM Privilege Catalog