5.4.7 Ensure users must re-autenticate for privilege escalation

Information

The operating system must be configured so that users must re-authenticate for privilege escalation.

Rationale:

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 reauthenticate.

Solution

Configure the operating system to require users to reauthenticate for privilege escalation.
Check the configuration of the /etc/sudoers file with the following command:

# vim /etc/sudoers

Remove any occurrences of !authenticate tags in the file.
Check the configuration of the /etc/sudoers.d/* files with the following command:

# grep -i authenticate /etc/sudoers /etc/sudoers.d/*

Edit the list of files using this command:

# vim /etc/sudoers.d/path_of_file

Remove any occurrences of !authenticate tags in the file(s).

Notes:

This Benchmark recommendation maps to:

Red Hat Enterprise Linux 7 Security Technical Implementation Guide:

Version 2, Release: 3 Benchmark Date: 26 Apr 2019



Vul ID: V-71949

Rule ID: SV-86573r3_rule

STIG ID: RHEL-07-010350

Severity: CAT II

See Also

https://workbench.cisecurity.org/files/2688

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3(7)

Plugin: Unix

Control ID: 3a9ee40017ee5b0f3a4fe9455ddd714fdbdfe7ca5b8702def249930e41c3e832