sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

personality(ADDR_NO_RANDOMIZE) ASLR Bypass

Open congwang-mk opened this issue 7 months ago • 0 comments

The personality() syscall is not filtered. A sandboxed process can disable ASLR for itself and all children via personality(ADDR_NO_RANDOMIZE).

  • Impact: Makes exploit development (ROP/JOP) significantly easier if combined with a memory corruption bug. Undermines the no_randomize_memory policy flag intent.
  • Fix: Add personality to the seccomp deny list, or add an arg filter that blocks ADDR_NO_RANDOMIZE.

congwang-mk avatar Apr 08 '26 23:04 congwang-mk