Kubetier
T0

Application SSRF to cloud and back into the cluster

Cluster admin

Only the last step of this route is governed by RBAC. A request forgery in one workload reaches the node's cloud identity, and the cloud identity is often allowed to grant itself cluster access that no RBAC object records.

Step 1: forge a request to the metadata endpoint. This step is not governed by RBAC.forge a request to themetadata endpoint1Step 2: take the node cloud credentials. This step is not governed by RBAC.2Step 3: use the credential against cloud APIs. This step is not governed by RBAC.use the credentialagainst cloud APIs3Step 4: reach the Kubernetes API as the cloud identity. This step is not governed by RBAC.4Step 5: map an attacker principal into a privileged group. Tier T0. audit: RequestResponse.map an attackerprincipal into a...5Internet-facing workload (request forgery reachable)Internet-facingworkloadrequest forgery reachableInstance metadata serviceInstance metadataserviceNode cloud identityNode cloud identityCloud accountCloud accountCluster identity mapping (kube-system ConfigMap)Cluster identitymappingkube-system ConfigMapCluster admin (no RBAC object records the grant)Cluster adminno RBAC object records thegrant
  • RBAC
  • external
  • governed by RBAC
  • not governed by RBAC