| ▲ | rkeene2 3 hours ago | |||||||
A workaround might be to make all setuid/setgid files non-world-readable because then they cannot be opened at all, and thus there is no setuid file to replace the contents of. | ||||||||
| ▲ | hashstring 2 hours ago | parent [-] | |||||||
Eh, if you can pollute page caches this won’t safe you. Think modifying shared libraries, ld preload, cron, I guess on some systems /etc/passwd even. There are a lot of files readable that should definitely not be writable. | ||||||||
| ||||||||