Finding Description
Eight of the twelve storage accounts in the production subscription have publicNetworkAccess set to Enabled with the default rule Allow, so any address on the internet may attempt to reach their endpoints. On the same eight accounts allowSharedKeyAccess is true: a leaked account key grants full data-plane access without an identity, a sign-in or a conditional-access policy in the path. Three of the accounts hold exported customer statements; the others hold build artefacts and diagnostics.
Impact
A single leaked key, for example in a build log or a decommissioned laptop, reads or deletes every blob in the account from anywhere, and the access leaves no sign-in record because keys are not identities. The exposure is not exploitable by itself; it removes the two controls that would contain a credential leak.
References
- CCM v4 DSP-07Data protection by design and by default
- CCM v4 IVS-03Network security: restrict access to the services needed
- CIS Azure 3.8, 3.9Default network access rule set to Deny; shared key authorization disabled
- EvidencePage 12, capture 1 and the Resource Graph query
Affected Resources
Remediation & Solution Strategy
allowSharedKeyAccess: false) and move the two services that still use keys to managed identities with the Storage Blob Data Contributor role.