| ▲ | aaronmdjones 2 hours ago | |||||||
> Without read permissions you cannot execute the binary This is not correct, as when the binary is setuid-someone-else, you are not the one executing it; they are.
Removing world-readability from all setuid-root binaries on the system would be sufficient to kill the PoC script provided for this vulnerability. It would not be sufficient to prevent exploitation though; there are many ways to abuse the ability to write to files you have read access to in order to gain root, for example by using the vulnerability to alter the cached copy of a file in /etc/sudoers.d/, or overwrite /etc/passwd, or /etc/crontab, ... the list goes on. | ||||||||
| ▲ | akdev1l 2 hours ago | parent [-] | |||||||
interesting but in that case no point in keeping the x bit either and suid binaries should just be 4700 ? | ||||||||
| ||||||||