For the complete documentation index, see llms.txt. This page is also available as Markdown.
Cortex CloudApplication Security

Azure Batch Account configured with overly permissive network access misconfiguration detected in co

Rule Details

Cortex AppSec Rule ID

APPSEC_AZURE_248

Category

Networking

Provider

AZURE

Severity

HIGH

Framework

ARM, Bicep, Terraform, Terraform Plan

Mapped CSPM/KSPM Rule

5e1ba43e-121a-4e71-b5e6-d8f8091fe7cd

Impact

Azure Batch Accounts with unrestricted network access are vulnerable to unauthorized access and compromise. Publicly accessible Batch Accounts allow any entity to connect and potentially execute malicious code or exfiltrate data.

Azure Batch Accounts misconfiguration exposes the account to attacks from untrusted IPs. Malicious actors could exploit this open access to deploy malware, access sensitive data, or perform denial-of-service attacks. Restricting access mitigates these risks significantly.

The impact of this misconfiguration could include data breaches, unauthorized resource consumption, and service disruptions. Enforcing restricted network access ensures only authorized entities can interact with the Batch Account, enhancing security posture and reducing the attack surface.

Implement network restrictions using either an IP firewall to allow only specific IP addresses or address ranges, or by integrating with a Virtual Network for enhanced security. Regularly review and update these allowed IP addresses and Virtual Network configurations to maintain optimal security.

How to Fix

Ensure your Azure Batch account does not have public network access enabled by setting publicNetworkAccess to disabled and do not set defaultAction to allow. [source,go]

{ ... "resources": [ { "type": "Microsoft.Batch/batchAccounts", "apiVersion": "2024-02-01", "name": "example", "properties": {

  • } ] }


Last updated

Was this helpful?