RHEL 8 must restrict privilege elevation to authorized personnel.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-237641RHEL-08-010382SV-237641r1101904_ruleCCI-000366medium
Description
The sudo command allows a user to execute programs with elevated (administrator) privileges. It prompts the user for their password and confirms your request to execute a command by checking a file, called sudoers. If the "sudoers" file is not configured correctly, any user defined on the system can initiate privileged actions on the target system.
STIGDate
Red Hat Enterprise Linux 8 Security Technical Implementation Guide2025-05-14

Details

Check Text (C-237641r1101904_chk)

Verify the "sudoers" file restricts sudo access to authorized personnel. $ sudo grep -iwR 'ALL' /etc/sudoers /etc/sudoers.d/ | grep -v '#' If the either of the following entries are returned, this is a finding: ALL ALL=(ALL) ALL ALL ALL=(ALL:ALL) ALL

Fix Text (F-40823r646892_fix)

Remove the following entries from the sudoers file: ALL ALL=(ALL) ALL ALL ALL=(ALL:ALL) ALL