Kubetier
← Permission Reference
T1

create customresourcedefinitions

A CustomResourceDefinition with a conversion webhook routes every read and write of that resource type to your endpoint, capturing all traffic for it.

API Group
apiextensions.k8s.io
Scope
cluster
Audit Level
Request

Escalation Paths

  1. Create a CRD that registers a conversion webhook pointing at an attacker-controlled server.

  2. Every read and write of that custom resource type is routed through the webhook, which can read and rewrite objects in flight.

  3. The API server requires a CA bundle and TLS, so this needs a serving certificate the API server will accept.

Additional rights needed:

none
K8s docs ↗
K8s docs ↗