1.255 ALMA-09-032140

Information

AlmaLinux OS 9 must not be configured to bypass password requirements for privilege escalation.

GROUP ID: V-269361
RULE ID: SV-269361r1050244

Without re-authentication, 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 re-authenticate.

Solution

Configure the operating system to require users to supply a password for privilege escalation.

Remove any occurrences of " pam_succeed_if " in the "/etc/pam.d/sudo" file.

See Also

https://workbench.cisecurity.org/benchmarks/27039