services / Azure / Kubernetes pod security policies (Arc-connected cluster)

PodSecurityPolicies are Kubernetes admission-control objects in an Azure Arc-connected cluster that constrain the security context of pods (e.g. privileged mode, hostPath, host namespaces, runAsRoot), acting as a cluster security/defense mechanism.

PSPs are a defensive admission control; their configuration reveals where privileged-pod restrictions are weak.


Microsoft.​Kubernetes/​connectedClusters/​policy/​podsecuritypolicies/​write

Creating/updating a PSP lets an attacker author or weaken a permissive admission policy (permit privileged/hostPath/host-namespace pods), disabling a cluster defense and enabling container breakout to node/cluster escalation.

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.​Kubernetes
  • 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