services / Azure / VPN link connection shared key

The IPsec pre-shared key (PSK) for a VPN link connection within a site-to-site VPN gateway connection. This secret authenticates the IPsec tunnel between the Azure VPN gateway and the peer (on-prem/remote) endpoint.

The shared key is a tunnel-authenticating credential; exposure or control of it directly impacts connectivity to and the security of the bridged network.


Microsoft.​Network/​vpnGateways/​vpnConnections/​vpnLinkConnections/​sharedKeys/​default/​read

Despite the /read verb, this returns the VPN tunnel's IPsec pre-shared key (credential material), enabling crypto exfiltration; with the PSK an attacker can impersonate the peer and stand up a tunnel to reach the connected network.

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