Back to list
FreeBSD <= 10.3 jail SHM hole
Aug 16 2017 09:12AM
WhiteWinterWolf (bugtraq lists whitewinterwolf com)
This issue affects FreeBSD from 7.0 to 10.3 included.
FreeBSD jail incompletely protects the access to the IPC primitives.
The 'allow.sysvipc' setting only affects IPC queues, leaving other IPC
objects unprotected, making them reachable system-wide independently of
the system configuration.
This creates two main weaknesses:
- An attacker able to execute commands in one jail can attack processes
located outside of the jail by directly accessing their IPC objects.
- An attacker can create a bi-directional covert-channel between two
otherwise isolated jails.
There is no mitigation measure available on vulnerable systems.
This issue is fixed in FreeBSD 11.0, the fix is also planned in the
upcoming FreeBSD 10.4 (the fix is already committed to the FreeBSD
STABLE branch, the release is currently scheduled for October, 2017).
There is not fix planned for FreeBSD 10.3.
If you are relying on FreeBSD jail for security purposes, I recommend
to upgrade to a fixed version.
Details + POC:
[ reply ]
Copyright 2010, SecurityFocus