nerdexam
ExamsPT0-001Questions#73
CompTIA

PT0-001 · Question #73

PT0-001 Question #73: Real Exam Question with Answer & Explanation

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 can’

Post-exploitation and lateral movement

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

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

#SUID bit#chmod#sudo misconfiguration#Linux privilege escalation

Community Discussion

No community discussion yet for this question.

Full PT0-001 Practice