2 ms·
There are at least two bugs involved here. One is the fact that you can breach into the setroubleshootd_t domain because of the shell parsing error. The second
by Aissen 12y ago
There are at least two bugs involved here. One is the fact that you can breach into the setroubleshootd_t domain because of the shell parsing error. The second is a policy one: the setroubleshootd_t allows you to create a file with any attribute (here the suid bit), making it possible to elevate privileges.
The point Sebastian (stealth) is making is fairly balanced: SELinux is very useful, but it's not the catch-all solution to containing root exploits; it even has bugs in its implementations and policies, like all software.