SV-271788r1155305_rule
V-271788
SRG-OS-000259-GPOS-00100
OL09-00-002522
CAT II
10
Configure the systemwide 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 OL 9 systemwide 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 systemwide shared library directory is found to be group-writable or world-writable, this is a finding.
V-271788
False
OL09-00-002522
Verify OL 9 systemwide 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 systemwide shared library directory is found to be group-writable or world-writable, this is a finding.
M
5680