Skip to main content

Storage Account Does Not Require Secure Transfer

Overview

The secure transfer option enhances the security of a storage account by only allowing requests to the storage account by a secure connection. For example, when calling REST APIs to access storage accounts, the connection must use HTTPS. Any requests using HTTP will be rejected when 'secure transfer required' is enabled. When using the Azure files service, connection without encryption will fail, including scenarios using SMB 2.1, SMB 3.0 without encryption, and some flavors of the Linux SMB client. Because Azure storage doesn’t support HTTPS for custom domain names, this option is not applied when using a custom domain name. By default, Secure transfer required is set to Disabled.

Audit Instructions

From Azure Portal

  1. Go to Storage Accounts
  2. For each storage account, go to Configuration
  3. Ensure that Secure transfer required is set to Enabled

From Azure CLI

Use the below command to ensure the Secure transfer required is enabled for all the Storage Accounts by ensuring the output contains true for each of the Storage Accounts.

az storage account list --query "[*].[name,enableHttpsTrafficOnly]"

Remediation Instructions

From Azure Portal

  1. Go to Storage Accounts
  2. For each storage account, go to Configuration
  3. Set Secure transfer required to Enabled

From Azure CLI

Use the below command to enable Secure transfer required for a Storage Account

az storage account update --name <storageAccountName> --resource-group <resourceGroupName> --https-only true

Vendor

Azure

Cloud Service

Storage

CIS Azure v2.0.0 3.1

References

https://docs.microsoft.com/en-us/azure/storage/blobs/securityrecommendations#encryption-in-transit, https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-clilatest#az_storage_account_list, https://docs.microsoft.com/en-us/cli/azure/storage/account?view=azure-clilatest#az_storage_account_update, https://docs.microsoft.com/en-us/security/benchmark/azure/security-controls-v3-data-protection#dp-4-encrypt-sensitive-information-in-transit

Severity

3

Item Types

Microsoft.Storage.storageAccounts