English edition · cyberattaques.org in FrenchFrançais
Solution

AWS flags ADB and WebRTC exposure between tenants in multi-tenant Kubernetes clusters

AWS has published guidance on protocols such as ADB and WebRTC, which by default communicate without encryption or enterprise authentication inside shared Kubernetes clusters. Teams running multi-tenant clusters, including on Amazon EKS, are concerned.

What to do now Illustration photo (container cluster network isolation)

The AWS security blog has published guidance on a common weakness in Kubernetes clusters shared by several tenants. Some application protocols were never designed for an environment where unrelated workloads sit on the same network.

AWS gives two examples. Android Debug Bridge (ADB) and Web Real-Time Communication (WebRTC) use unencrypted network channels by default. Neither supports enterprise authentication mechanisms such as JSON Web Tokens. A service exposing either protocol therefore accepts connections without verifying who is on the other end.

In a multi-tenant Kubernetes cluster, Amazon EKS included, a pod can reach other tenants' open ports by default. That stops only once network policies have been configured. Without them, one tenant can connect to and interact with an ADB or WebRTC service belonging to another.

The collected excerpt does not set out all of the measures AWS proposes. It does not describe the full reference architecture or any tools recommended for putting encryption and authentication in front of these protocols. This is best-practice guidance rather than a vulnerability with a patch.

Action plan

What to do now

  1. Inventory pods in shared clusters that expose ADB, WebRTC or other unauthenticated protocol ports.
  2. Apply Kubernetes network policies that deny traffic between tenant namespaces by default, then allow only the flows you need.
  3. Confirm that your CNI plugin actually enforces NetworkPolicy objects, since otherwise they have no effect.
  4. Read the full AWS post for the encryption and authentication measures that fit your architecture.

Sources