RHEL 9 must not be configured to bypass password requirements for privilege escalation.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-258118 | RHEL-09-611145 | SV-258118r1050789_rule | CCI-004895 | medium |
| Description | ||||
| Without reauthentication, 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. Satisfies: SRG-OS-000373-GPOS-00156, SRG-OS-000373-GPOS-00157, SRG-OS-000373-GPOS-00158 | ||||
| STIG | Date | |||
| Red Hat Enterprise Linux 9 Security Technical Implementation Guide | 2025-05-14 | |||
Details
Check Text (C-258118r1050789_chk)
Verify the operating system is not configured to bypass password requirements for privilege escalation with the following command:
$ sudo grep pam_succeed_if /etc/pam.d/sudo
If any occurrences of "pam_succeed_if" are returned, this is a finding.
Fix Text (F-61783r926340_fix)
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.