The Oracle Linux operating system must not be configured to bypass password requirements for privilege escalation.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-251700 | OL07-00-010344 | SV-251700r1015196_rule | Medium |
Description |
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 |
STIG | Date |
Oracle Linux 7 Security Technical Implementation Guide | 2024-08-26 |
Details
Check Text (C-55137r809178_chk) |
Verify the operating system is not be configured to bypass password requirements for privilege escalation. Check the configuration of the "/etc/pam.d/sudo" file with the following command: $ sudo grep pam_succeed_if /etc/pam.d/sudo If any occurrences of "pam_succeed_if" is returned from the command, this is a finding. |
Fix Text (F-55091r853741_fix) |
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. |