sandlock icon indicating copy to clipboard operation
sandlock copied to clipboard

Netlink NETLINK_ROUTE Socket (HIGH)

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

Only NETLINK_SOCK_DIAG is blocked. The child can create NETLINK_ROUTE sockets and enumerate all network interfaces, routing tables, neighbor caches, and ARP entries.

Impact: Full network topology enumeration from inside the sandbox. Can discover internal IPs, VPN interfaces, Docker bridges, etc.

Fix: Block all AF_NETLINK sockets in the seccomp arg filter, or at minimum block NETLINK_ROUTE, NETLINK_FIREWALL, NETLINK_AUDIT.

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