Skip to content
Back to skills

Cis Azure Storage 17.13

ASecurity

Ensure that 'Allow Blob Anonymous Access' is set to 'Disabled'

  • 3,723 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 3, 2026
securitygoshellbashazuresecurity

Works with

  • cli

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add CyberStrikeus/CyberStrike --skill cis-azure-storage-17.13 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cis Azure Storage 17.13?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cis Azure Storage 17.13
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cyberstrikeus-cis-azure-storage-17-13/badge)](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-azure-storage-17-13)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cis-azure-storage-17.13
description: "Ensure that 'Allow Blob Anonymous Access' is set to 'Disabled'"
category: cis-azure-storage
version: "1.0.0"
author: cyberstrike-official
tags: [cis, azure, storage, storage-accounts, encryption]
cis_id: "17.13"
cis_benchmark: "CIS Microsoft Azure Storage Services Benchmark v1.0.0"
tech_stack: [azure]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---

# 17.13 Ensure that 'Allow Blob Anonymous Access' is set to 'Disabled' (Automated)

## 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 Procedure

### Audit from Azure Portal

1. Go to `Storage Accounts`.
2. For each storage account, under `Settings`, click `Configuration`.
3. Ensure `Allow Blob Anonymous Access` is set to `Disabled`.

### Audit from Azure CLI

For every storage account in scope:

```bash
az storage account show --name "<yourStorageAccountName>" --query allowBlobPublicAccess
```

Ensure that every storage account in scope returns `false` for the "allowBlobPublicAccess" setting.

### Audit from Azure Policy

Policy ID: `4fa4b6c0-31ca-4c0d-b10d-24b96f62a751` - Name: '[Preview]: Storage account public access should be disallowed'

## Expected Result

`Allow Blob Anonymous Access` should be set to `Disabled` for all storage accounts. CLI output should return `false` for `allowBlobPublicAccess`.

## Remediation

### Remediate from Azure Portal

1. Go to `Storage Accounts`.
2. For each storage account, under `Settings`, click `Configuration`.
3. Set `Allow Blob Anonymous Access` to `Disabled`.
4. Click `Save`.

### Remediate from PowerShell

For every storage account in scope, run the following:

```powershell
$storageAccount = Get-AzStorageAccount -ResourceGroupName "<yourResourceGroup>" -Name "<yourStorageAccountName>"
$storageAccount.AllowBlobPublicAccess = $false
Set-AzStorageAccount -InputObject $storageAccount
```

## Default Value

Disabled

## References

1. https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent?tabs=portal
2. https://learn.microsoft.com/en-us/azure/storage/blobs/anonymous-read-access-prevent?source=recommendations&tabs=portal
3. 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.

## Profile

Level 1 | Automated

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.