SV-219198r610963_rule
V-219198
SRG-OS-000259-GPOS-00100
UBTU-18-010133
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 system-wide shared library files contained in the directories "/lib", "/lib64" and "/usr/lib" have mode 0755 or less permissive.
Check that the system-wide shared library files have mode 0755 or less permissive with the following command:
# sudo find /lib /lib64 /usr/lib -perm /022 -type f -exec stat -c "%n %a" '{}' \;
/usr/lib64/pkcs11-spy.so
If any files are found to be group-writable or world-writable, this is a finding.
V-219198
False
UBTU-18-010133
Verify the system-wide shared library files contained in the directories "/lib", "/lib64" and "/usr/lib" have mode 0755 or less permissive.
Check that the system-wide shared library files have mode 0755 or less permissive with the following command:
# sudo find /lib /lib64 /usr/lib -perm /022 -type f -exec stat -c "%n %a" '{}' \;
/usr/lib64/pkcs11-spy.so
If any files are found to be group-writable or world-writable, this is a finding.
M
4055