Ubuntu 24.04 LTS must require users to reauthenticate for privilege escalation or when changing roles.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-270707 | UBTU-24-300021 | SV-270707r1101786_rule | CCI-000366 | medium |
| Description | ||||
| Without reauthentication, users may access resources or perform tasks for which they do not have authorization. When operating systems provide the capability to escalate a functional capability, it is critical the user reauthenticate. | ||||
| STIG | Date | |||
| Canonical Ubuntu 24.04 LTS Security Technical Implementation Guide | 2025-05-16 | |||
Details
Check Text (C-270707r1101786_chk)
Verify the "/etc/sudoers" file has no occurrences of "!authenticate" with the following command:
$ sudo egrep -iR '!authenticate' /etc/sudoers /etc/sudoers.d/
If any occurrences of "!authenticate" return from the command, this is a finding.
Fix Text (F-74641r1101785_fix)
Remove any occurrence of "!authenticate" found in "/etc/sudoers" file or files in the "/etc/sudoers.d" directory.