Kubetier
T0

ConfigMap write to cluster admin through an operator

Cluster admin

Write access to one ConfigMap reads as harmless in review. Where that ConfigMap holds the pod template a privileged operator renders, its fields become your pod spec, applied under the operator's own cluster-wide identity.

Step 1: edit the pod template the operator renders. Tier T1. audit: RequestResponse.edit the pod templatethe operator renders1Step 2: the operator creates the pod under its own identity. This step is not governed by RBAC.2Step 3: nsenter into the host from the admitted pod. This step is not governed by RBAC.nsenter into the hostfrom the admitted pod3Step 4: collect the projected tokens on the node. This step is not governed by RBAC.4Step 5: bind cluster-admin to a subject you control. Tier T0. audit: RequestResponse.bind cluster-admin to asubject you control5ConfigMap the operator renders (patch or update is enough)ConfigMap the operatorrenderspatch or update is enoughPrivileged operator (cluster-wide identity)Privileged operatorcluster-wide identityPod the operator created (privileged, hostPID)Pod the operatorcreatedprivileged, hostPIDNode rootNode rootProjected tokens on the node (every pod scheduled here)Projected tokens onthe nodeevery pod scheduled hereCluster adminCluster admin
  • RBAC
  • runtime
  • governed by RBAC
  • not governed by RBAC