services / Azure / Private DNS MX record set

An MX (mail-exchange) record set within an Azure Private DNS zone, which directs internal mail-routing name resolution for resources within linked virtual networks.

Private DNS zones serve name resolution for a single network function; reading records is reconnaissance while writing/deleting can redirect or break internal resolution.


Microsoft.​Network/​privateDnsZones/​MX/​write

Creating/replacing MX records overwrites internal mail routing, letting an attacker redirect mail flow to attacker-controlled hosts and arbitrarily route that name within the private zone.

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