Description
The Azure Storage setting βAllow Blob Anonymous Accessβ (aka "allowBlobPublicAccess") controls whether anonymous access is allowed for blob data in a storage account. When this property is set to True, it enables public read access to blob data, which can be convenient for sharing data but may carry security risks. When set to False, it disallows public access to blob data, providing a more secure storage environment.
Rationaleβ
If "Allow Blob Anonymous Access" is enabled, blobs can be accessed by adding the blob name to the URL to see the contents. An attacker can enumerate a blob using methods, such as brute force, and access them.
Exfiltration of data by brute force enumeration of items from a storage account may occur if this setting is set to 'Enabled'.
Impactβ
Additional consideration may be required for exceptional circumstances where elements of a storage account require public accessibility. In these circumstances, it is highly recommended that all data stored in the public facing storage account be reviewed for sensitive or potentially compromising data, and that sensitive or compromising data is never stored in these storage accounts.
Auditβ
This policy flags an Azure Storage Account as INCOMPLIANT
if its Blob Public Access
is not set to Deny.
Default Valueβ
By default, allowBlobPublicAccess
is Disabled
.
Referencesβ
- https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent?tabs=portal
- https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent?source=recommendations&tabs=portal
- Classic Storage Accounts: https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent-classic?tabs=portal
Additional Informationβ
Azure Storage accounts that use the classic deployment model will be retired on August 31, 2024.