services / Azure / Static Site database connections

A database connection resource that links an Azure Static Web App to a backend database, powering the site's Data API. It holds the target database binding, an optional managed-identity, and (retrievable separately) the connection string credential.

The connection binds a production application to its backing data tier; the show action returns reusable database credentials, making that path credential-sensitive.


Microsoft.​Web/​staticSites/​databaseConnections/​show/​action

The showDetails action returns the full unmasked connection string (and config files) embedding database credentials, a credential-export primitive redeemable for direct authenticated access to the backend database.

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.​Web
  • 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