services / Azure / Network security group join

A Network Security Group (NSG) is a stateful packet filter that contains ordered allow/deny rules applied to the network interfaces and subnets it is associated with, controlling inbound and outbound traffic for the resources behind it.

An NSG is a perimeter/segmentation control, not a data store itself, but it gates network access to every resource attached to it; misconfiguring one can expose or cut off an entire subnet's worth of workloads, so scope is rated on par with other perimeter-control assets in this provider rather than CRITICAL, which is reserved for tenant-wide IAM/policy objects.


Microsoft.​Network/​networkSecurityGroups/​join/​action

Azure requires this permission on the NSG itself before a principal can attach a NIC/subnet to it, specifically so that a principal with only narrow "create resource" rights cannot silently exempt their own resources from security policy they don't control. Holding join lets an attacker attach an attacker-controlled interface/subnet so it inherits (or is deliberately left out of) that NSG's rules, or attach a sanctioned resource to a weaker/attacker-modified NSG, bypassing intended segmentation.

Risks

Scope: HIGH

This privilege may grant access to sensitive data from a single organizational function, or allow interruption of a service supporting a single organizational function.

Links

  • https:​/​/​azure.​permissions.​cloud/​iam/​Microsoft.​Network
  • https:​/​/​learn.​microsoft.​com/​en-​us/​azure/​role-​based-​access-​control/​resource-​provider-​operations
  • Contributed by P0 Security

    © 2023–present P0 Security and contributors to the IAM Privilege Catalog