SV-269174r1050056_rule
V-269174
SRG-OS-000259-GPOS-00100
ALMA-09-010800
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.
$ chmod 755 [DIRECTORY]
Verify the systemwide shared library directories have mode "755" or less permissive with the following command:
$ find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec ls -l {} \;
If any systemwide shared library file is found to be group-writable or world-writable, this is a finding.
V-269174
False
ALMA-09-010800
Verify the systemwide shared library directories have mode "755" or less permissive with the following command:
$ find -L /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec ls -l {} \;
If any systemwide shared library file is found to be group-writable or world-writable, this is a finding.
M
5664