Lesson 13 of 13 · 12m
How Clusters Actually Get Breached
Tesla's open console, TeamTNT's worm, RBAC Buster's disguised bindings, and IngressNightmare — the unauthenticated-endpoint pattern and its checklist.
Nobody 0days their way in
Read enough Kubernetes breach reports and the shape stops being surprising: an unauthenticated or over-permissive endpoint, a harvested credential, a persistence mechanism disguised as infrastructure, and a cryptominer as the payload. The sophistication is in the hygiene failures, not the exploits.
Tesla, February 2018. RedLock reported a Kubernetes administrative console reachable on the internet with no authentication. Attackers walked in, ran cryptomining in the cluster, and exfiltrated AWS S3 credentials stored in pod environment variables. No CVE, no exploit — an open console and secrets in env vars, the two beginner mistakes from lessons 1 and 12 in one incident. Cryptomining stays the payload of choice because it monetizes a foothold without touching data: a pod that never reads your secrets still pays out in CPU.
TeamTNT, 2020–2021. A worm that scanned for exposed kubelet ports and Kubernetes dashboards, then stole AWS credentials from instance metadata and filesystem, and deployed miners. Its Kubernetes-specific variant enumerated cluster credentials via the mounted service account token — the exact file lesson 3 told you to stop mounting. They also shipped malicious Docker Hub images, which is lesson 10's threat model made literal.
RBAC Buster, July 2023. Sysdig's threat team ran honeypot clusters and watched attackers exploit API servers misconfigured to grant system:anonymous real privileges. Once in, they created a ClusterRoleBinding handing cluster-admin to a new service account named to look like a system component — kube-controller-manager-style names that pass a skim of kubectl get clusterrolebindings. Persistence: a DaemonSet named like a kube-system plugin, running a Monero miner. Sixty honeypot clusters got hit. Every step maps to a specific RBAC verb and audit verb from lessons 2 and 11 — anonymous grants, clusterrolebindings create, DaemonSet deploys.
IngressNightmare, March 2025. CVE-2025-1974: the ingress-nginx admission webhook accepted unauthenticated AdmissionReview objects and ran attacker-controlled nginx config — network-reachable RCE as a component that can read every cluster Secret. Lesson 9's warning, weaponized: the admission controller isn't just a policy checkpoint, it's a listener.
Exposed etcd and kubelets. Shodan-driven research through 2018–2020 repeatedly found thousands of etcd endpoints answering on 2379 without client-auth and kubelets on 10250 answering anonymous requests — --anonymous-auth still defaults to true in the kubelet itself; kubeadm and managed providers disable it for you, so the exposed ones are legacy and hand-rolled installs that never overrode the flag. Either endpoint is cluster-total compromise: etcd holds every Secret; an anonymous kubelet runs commands in any pod on its node.
The pattern is a checklist
Look at what none of these needed: a kernel 0day, a container escape (Siloscape remains the exception, and it needed a privileged foothold first). They needed an endpoint that answered without auth, a grant wider than the workload required, or a credential sitting where anyone could read it.
So the hardened-cluster checklist is short and concrete:
- Nothing unauthenticated: no exposed dashboard/console,
anonymous-auth: falseon kubelets, etcd behind client-cert TLS and node-only firewalling,--anonymous-auth=false/system:anonymousholding nothing. - No standing
cluster-adminbindings outside break-glass; alert onclusterrolebindingscreates and on grants ofescalate,bind,impersonate. - PSA
enforce: baselineeverywhere apps run,restrictedwhere you control images; webhookfailurePolicy: Failand admission components patched. - Default-deny egress;
169.254.169.254unreachable from pods; IMDSv2 hop limit 1. - Secrets: kms v2 encryption at rest, no
list/watchon secrets, no env-var credentials. - Audit log enabled, shipped off-node, alerting on exec/portforward/token-mint/CSR-approve.
Every one of those is a line of configuration you already own. The breaches in this lesson all walked through the gap between "the cluster runs" and "the cluster is governed." Closing that gap is this entire course in one paragraph: identity scoped, pods bounded, network denied by default, admission fail-closed, secrets actually encrypted, and a recorder watching.
Was this lesson helpful?
Keep reading
Related articles from the SudoSecurity blog.
A 257-Byte Password Is the Key: Inside the OpenSSH musl Bypass
CVE-2026-123158 lets an attacker log into a locked account on musl-based systems like Alpine by sending a password nobody set. The trigger is one number, 257, and the reason is a C library returning a single asterisk. I reproduced the exact boundary against musl 1.2.4 and read the fix.
Immich Had Fourteen Advisories and One Bug It Fixed Three Times
Immich's 2026 security record runs to fourteen advisories, and they cluster hard: the sharing features, the OAuth plumbing, and one login redirect parameter that took three separate fixes across eighty-three days. Plus the 3.0 migration traps still waiting for anyone who hasn't jumped yet.
Jellyfin's Threat Model Is Your Brother-in-Law
Four Jellyfin CVEs landed in 2026 and not one of them needs an admin account. One needs only the ability to name a file. Meanwhile Jellyfin 12 shipped in September, the version numbers stopped starting with 10, and every "am I patched" check you wrote is now wrong.
Node.js Fixed 16 Flaws in One Release. Most of Them Live in HTTP/2 and TLS.
The November 11 Node.js security releases fix 16 CVEs across the 26, 24 and 22 lines, seven of them rated high. Nearly all sit in HTTP/2 and TLS, where a remote client can crash a server, leak memory, or get past per-host client-certificate checks.