services / Azure / Web App
An Azure App Service site (Web App, Function App, or Logic App Standard) is a managed hosting resource that runs an organization's application code, often with an attached managed identity, app settings/connection strings, and a public-facing endpoint.
Production application hosting for a single organizational function; can hold secrets in app settings, run code under a managed identity, and serve public traffic.
Microsoft.Web/Sites/publishxml/Action
Returns the publishing profile XML containing FTP/Web Deploy/SCM deployment credentials, directly exfiltrating usable secrets that grant code-push access to the app and execution under its managed identity.
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