Char Wars: The Path Traversal Strikes Back
summary
Shows concrete path‑traversal failures: a 2021 Apache HTTP Server regression where a bad fix reopened file access, the npm middleware st letting encoded sequences bypass path normalization (use percent‑encoding like %2e%2e to fetch package.json or SSH keys), a VS Code extension open in default browser that serves any decoded path, and older Node.js path APIs exploited by tooling like dotdoton to mass‑scan and retrieve /etc/hosts. Fixes are precise: decode then normalize, enforce root‑directory checks, and run static scanners and extension audits.
AI-written summary · about
