RHEL-08-010385 - The RHEL 8 operating system must not be configured to bypass password requirements for privilege escalation.

Information

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.

Satisfies: SRG-OS-000373-GPOS-00156, SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00158

Solution

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

Check the configuration of the '/etc/ pam.d/sudo' file with the following command:
$ sudo vi /etc/pam.d/sudo

Remove any occurrences of 'pam_succeed_if' in the file.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_8_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-11, CAT|II, CCI|CCI-002038, CCI|CCI-004895, Rule-ID|SV-251712r1017383_rule, STIG-ID|RHEL-08-010385, Vuln-ID|V-251712

Plugin: Unix

Control ID: 7833a22c0066f57675eab57022c5251fc6834c36ae4de695aed3e53024681f05