SV-252651r991560_rule
V-252651
SRG-OS-000259-GPOS-00100
OL08-00-010331
CAT II
10
Configure the library directories 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 within "/lib", "/lib64", "/usr/lib" and "/usr/lib64" have mode "755" or less permissive with the following command:
$ sudo find /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec stat -c "%n %a" '{}' \;
If any system-wide shared library directories are found to be group-writable or world-writable, this is a finding.
V-252651
False
OL08-00-010331
Verify the system-wide shared library directories within "/lib", "/lib64", "/usr/lib" and "/usr/lib64" have mode "755" or less permissive with the following command:
$ sudo find /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec stat -c "%n %a" '{}' \;
If any system-wide shared library directories are found to be group-writable or world-writable, this is a finding.
M
5416