Fedora to (try to) remove setuid files for F15
Fedora to (try to) remove setuid files for F15
Posted Oct 29, 2010 13:21 UTC (Fri) by nelhage (subscriber, #59579)Parent article: Fedora to (try to) remove setuid files for F15
While I appreciate the effort, this seems unlikely to actually help much. There
will still be programs like 'sudo' and 'su' that need CAP_SETUID or similar
permissions that can probably be easily leveraged to gain full privileges. The
right solution is probably to kill both file capabilities and setuid, and to use
something like PolicyKit that sets security policy and grants privileges to
authorized processes, for instance by passing file descriptors over a local
socket.
will still be programs like 'sudo' and 'su' that need CAP_SETUID or similar
permissions that can probably be easily leveraged to gain full privileges. The
right solution is probably to kill both file capabilities and setuid, and to use
something like PolicyKit that sets security policy and grants privileges to
authorized processes, for instance by passing file descriptors over a local
socket.
Honestly, I question whether moving to file capabilities is even an improvement
-- attackers will probably find ways around this, and system administrators are
already familiar with and understand setuid. I don't even know offhand, for
instance, how to check which capabilities a file has.
