Turning Arbitrary File Writes into RCE
summary
Demonstrates practical, black‑box ways to turn arbitrary file writes into RCE across Linux containers and interpreted runtimes: kernel errno fingerprinting to map exist/write/dir semantics, proc/1/fd/255 bash pointer plus no‑sleds to overwrite running shell scripts, using Rails schema_cache unsafe_load to inject Ruby code via the YAML/Marshal deserialization chain, and overriding worker module files in Node (piscina/tiny‑pool/worker threads) so new workers load disk‑modified code. Also shows using LD_PRELOAD on dynamically linked processes as a reliable escalation path.
AI-written summary · about
