sandlock
sandlock copied to clipboard
/proc/{parent_pid}/* Information Leak (HIGH)
The child can read /proc/{ppid}/cmdline, /proc/{ppid}/status, /proc/{ppid}/cgroup, and list /proc/{ppid}/fd/. This reveals:
- Supervisor command line and arguments
- UID/GID of the parent
- Full capability bounding set
- Open file descriptor list and targets
- cgroup membership (container detection)
Impact: Information leak enabling targeted attacks against the supervisor. The fd listing could reveal the seccomp notif fd number for further exploitation.
Fix: Virtualize /proc/{ppid}/ access in the procfs handler. Block or filter reads to other PIDs' proc entries.