RHEL-07-010340 - The Red Hat Enterprise Linux operating system must be configured so that users must provide a password 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/sudoers' file with the following command:
$ sudo visudo

Remove any occurrences of 'NOPASSWD' tags in the file.

Check the configuration of the /etc/sudoers.d/* files with the following command:
$ sudo grep -ir nopasswd /etc/sudoers.d

Remove any occurrences of 'NOPASSWD' tags in the file.

See Also

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

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-11, CAT|II, CCI|CCI-002038, Rule-ID|SV-204429r861003_rule, STIG-ID|RHEL-07-010340, STIG-Legacy|SV-86571, STIG-Legacy|V-71947, Vuln-ID|V-204429

Plugin: Unix

Control ID: 5038e102fd5e67427e7ee4f8a772d44e6af174e77b24359defbbb27602480715