~/talk

Char Wars: The Path Traversal Strikes Back

Talkat NodeTLV 2023 · on Wednesday, 2023-06-28· [security, nodejs]
slides:none on file

Demonstrates real path‑traversal cases: a vulnerable npm middleware st npm (≈500k weekly downloads) where percent‑encoded “..” bypasses normalize before decode, a VS Code extension open in default browser extension that spins a local server and exfiltrates a keys.txt file, and an old Node.js core bug (v8.5.0 era) that made path.resolve/normalize unsafe. Uses the automated scanner dotdotpwn to find workable encodings, shows successful reads of /etc/hosts and server.js, and points to the practical fix: decode then normalize.

AI-written summary · about

  1. 0:00Introduction to path traversal
  2. 3:56What is path traversal
  3. 8:13Secure coding basics
  4. 8:36Vulnerable npm package SD
  5. 14:36VS Code extension attack
  6. 19:35Node.js runtime vulnerability
  7. 25:42Staying updated on security
  8. 26:03Summary and 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.