~/talk

Attacking Argo CD with Argo CD (and then Defending)

Talkat ArgoCon 2022 · 2022-09-19..09-21· [security, kubernetes]
slides:none on file

Shows a concrete escalation: an attacker uses Argo CD to modify the argo cd rbac cm (via kubectl apply or argo cd app patch) and fully takeover by changing RBAC CSV rules; a discovered CVE climbs from ~7.x to 9.9 and is fixed within nine days. Demonstrates exploitable commands like argo cd app sync --local override and repo-server symlink traversal, then builds defenses: restrict Git sources with glob patterns, remove update/create/delete/override rights, lock project destinations, and notes new applications in any namespace and repo-server symlink defaults in 2.5.

AI-written summary · about

  1. 0:00Start
  2. 1:21Basic Argo CD structure
  3. 2:43What a bootstrapped instance looks like
  4. 3:41Why the RBAC ConfigMap matters
  5. 4:56What the attack looks like
  6. 6:39An extreme example of the attack
  7. 8:23Defenses
  8. 10:36Attack: change the App's source repo
  9. 11:08Defense option 1: restrict Project source
  10. 12:20Defense option 2: restrict RBAC
  11. 13:34Attack: override the App's manifests
  12. 14:52Defense: disallow 'override' action
  13. 15:18Summary: git-based defense
  14. 16:27Initial setup
  15. 16:56Attack: take over RBAC
  16. 17:14Defense: restrict project destinations
~/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.