SV-257883r991560_rule
V-257883
SRG-OS-000259-GPOS-00100
RHEL-09-232015
CAT II
10
Configure the system-wide shared library directories (/lib, /lib64, /usr/lib and /usr/lib64) to be protected from unauthorized access.
Run the following command, replacing "[DIRECTORY]" with any library directory with a mode more permissive than 755.
$ sudo chmod 755 [DIRECTORY]
Verify the system-wide shared library directories have mode "755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec ls -l {} \;
If any system-wide shared library file is found to be group-writable or world-writable, this is a finding.
V-257883
False
RHEL-09-232015
Verify the system-wide shared library directories have mode "755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec ls -l {} \;
If any system-wide shared library file is found to be group-writable or world-writable, this is a finding.
M
5551