Escaping from a Docker container through vDSO

phrack.org21 min read

Researchers outline a technique for escaping Docker containers by abusing the virtual Dynamic Shared Object (vDSO) to achieve root privileges in the initial namespace. By using arch_prctl() or mremap() to remap the vDSO to overlap with a page table entry and flipping the read/write bit using an arbitrary increment primitive, an attacker can overwrite the vDSO's physical pages. This memory-only approach avoids the filesystem write-back side effects and detection risks associated with traditional file-based SUID binary overwrites. Open article →

More on this topic