SV-275581r1147793_rule
V-275581
SRG-OS-000259-GPOS-00100
RIIM-OS-232020
CAT II
10
Configure the library files to be protected from unauthorized access. Run the following command:
$ sudo find /lib /lib64 /usr/lib -perm /022 -type f -exec chmod 755 '{}' \;
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", and "/usr/lib" have mode "755" or less permissive by using the following command:
$ sudo find /lib /lib64 /usr/lib -perm /022 -type f -exec stat -c "%n %a" '{}' \;
If any files are found to be group-writable or world-writable, this is a finding.
V-275581
False
RIIM-OS-232020
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", and "/usr/lib" have mode "755" or less permissive by using the following command:
$ sudo find /lib /lib64 /usr/lib -perm /022 -type f -exec stat -c "%n %a" '{}' \;
If any files are found to be group-writable or world-writable, this is a finding.
M
5706