~/talk

RCE via legacy dependency in Python

Talkat NDC Security 2025 · 2025-01-20..01-23· [security, python]
links:none on file
slides:none on file

A small Flask app running in a Python 3.4 container uses PyYAML 3.13 and calls yaml.load on user-provided configs, which allows Python execution and leads to remote code execution. The demo proves this by triggering a webhook.site callback and then spawning a reverse shell via nc to pull confidential files and environment secrets. Snyk flags the dependency (recommend upgrade to 4.2) and static analysis recommends using safe_load; the exploit works end-to-end.

AI-written summary · about

  1. 0:00Legacy Python risks
  2. 3:28Flawed YAML validation
  3. 11:40PyYAML deserialization exploit
  4. 18:04Post-exploitation access
  5. 23:47Static analysis detection
  6. 27:22Key takeaways
~/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.