Zip Slip
IntermediateAn upload endpoint extracts a ZIP by joining each entry name onto the extraction directory without canonicalizing the result. A malicious entry name like ../../../../etc/cron.d/pwn walks straight out of /var/app/uploads/extract — craft a traversal payload, watch it escape, then confine the extractor.
Progress:
1
Escape to /etc/cron.d2
Overwrite SSH keys or the web root3
Confine the extractor⚡ Archive entry name
entry: …
🛡 Extractor fix
Extraction trace
Waiting for an entry…