Description
The Linuxulator determined whether a binary was set-user-ID or set-group-ID by checking the P_SUGID process flag. During execve(2), this flag is not yet set at the point where the auxiliary vector is constructed, so AT_SECURE was incorrectly set to zero for set-user-ID and set-group-ID executables. An unprivileged local user can inject a shared library via LD_PRELOAD into a set-user-ID or set-group-ID Linux binary, gaining the privileges of that binary.
Affected products
- FreeBSD / FreeBSD15.0-RELEASE – p10
- FreeBSD / FreeBSD14.4-RELEASE – p6
- FreeBSD / FreeBSD14.3-RELEASE – p15