~/talk

RCE and the Full Cluster Breach: Don't Let Your Security Be the Punchline of a Joke

Talkat Øredev 2023 · 2023-11-08..11-10· [security]
slides:none on file

A concrete exploit chain demonstrates user-controllable expression language leading to reverse shell via one-liner that lands root in an Alpine pod, then downloads kubectl with curl, uses the default service account token and readable ConfigMaps to harvest secrets, installs openssl to craft node bootstrap certs (pre-1.26) to impersonate nodes, and abuses Carpenter plus the EC2 metadata to extract AWS keys via AWS CLI and STS, resulting in a full cluster breach and AWS role takeover.

AI-written summary · about

  1. 0:00Introduction
  2. 2:06Adventure overview
  3. 3:54Web app and cluster overview
  4. 7:56Injection vulnerability
  5. 10:44Remote code execution
  6. 11:48Post-exploitation in Kubernetes
  7. 13:14Default token risks
  8. 15:26ConfigMaps and secrets exposure
  9. 17:11Node impersonation
  10. 21:45Carpenter tool exploitation
  11. 26:01EC2 metadata risks
  12. 28:52User data secrets
  13. 29:33Recap and treasure hunt
  14. 29:53Security takeaways
  15. 31:18Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.