services / Azure / Virtual network
An Azure virtual network (VNet) is the fundamental L3 network-isolation boundary in Azure, defining the address space, subnets, peerings, and security policy scope for all resources deployed into it.
The VNet is the primary network-segmentation boundary in Azure; control-plane privileges on it — altering peerings, address space, or security-group associations, or attaching unauthorized resources into it — can enable significant privilege escalation via lateral network access (per the CRITICAL definition in services/README.md).
Microsoft.Network/virtualNetworks/setAdminNetworkSecurityGroup/action
Sets or overrides the Admin Network Security Group (a tenant/network-manager-level security policy) applied to the VNet. Lets an attacker replace the centrally enforced NSG policy with an attacker-controlled one, overriding org-mandated traffic restrictions and opening network paths the admin policy was meant to block.
Risks
Scope: CRITICAL
This privilege may grant access to sensitive data from a significant fraction of organizational functions, allow interruption of critical organizational services, or its exploit could lead to significant privilege escalation.
Links
Contributed by P0 Security