Categories
Linux Mastering Development

Common binaries with support for command execution, like `awk` and `vim`, not respecting setuid bit?

I’m hardening a Linux system and wanted to test (setuid-based) shell escapes using common binaries, like awk, vim, etc., supporting command executing. However, all binaries I’ve tested except sh and bash don’t respect their setuid bit. In particular, awk continues to execute as a normal user: $ ls -lL /usr/bin/awk -rwsr-xr-x 1 root root 121976 […]

Categories
Linux Mastering Development

Common binaries with support for command execution not respecting setuid bit?

I’m hardening a Linux system and wanted to test (setuid-based) shell escapes using common binaries, like awk, vim, etc., supporting command executing. However, all binaries I’ve tested except sh and bash don’t respect their setuid bit. In particular, awk continues to execute as a normal user: $ ls -lL /usr/bin/awk -rwsr-xr-x 1 root root 121976 […]

Categories
Linux Mastering Development

Common binaries with support for command execution not respecting setuid bit?

I’m hardening a Linux system and wanted to test (setuid-based) shell escapes using common binaries, like awk, vim, etc., supporting command executing. However, all binaries I’ve tested except sh and bash don’t respect their setuid bit. In particular, awk continues to execute as a normal user: $ ls -lL /usr/bin/awk -rwsr-xr-x 1 root root 121976 […]