PT0-001 · Question #73
The following command is run on a Linux file system: Chmod 4111 /usr/bin/sudo Which of the following issues may be exploited now?
The correct answer is D. Misconfigured sudo. Chmod is a command and system call that is used to change the access permissions of file system objects (files and directories). Chmod 4111 (chmod a+rwx,u-rw,g-rw, o- rw,ug+s,+t,g-s,-t) sets permissions so that (U)ser / owner can’t read, can’t write, and can execute. (G)roup…
Question
The following command is run on a Linux file system:
Chmod 4111 /usr/bin/sudo Which of the following issues may be exploited now?
Options
- AKernel vulnerabilities
- BSticky bits
- CUnquoted service path
- DMisconfigured sudo
How the community answered
(56 responses)- A14% (8)
- B7% (4)
- C4% (2)
- D75% (42)
Explanation
Chmod is a command and system call that is used to change the access permissions of file system objects (files and directories). Chmod 4111 (chmod a+rwx,u-rw,g-rw, o- rw,ug+s,+t,g-s,-t) sets permissions so that (U)ser / owner can’t read, can’t write, and can execute. (G)roup can’t read, can’t write and can execute. (O)thers can’t read, can’t write, and can execute. sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. In this scenario. the command chmod 4111 /usr/bin/sudo will misconfigure sudo.
Topics
Community Discussion
No community discussion yet for this question.