SV-237608r646787_rule
V-237608
SRG-OS-000259-GPOS-00100
SLES-12-010872
CAT II
10
Configure the shared library directories to be protected from unauthorized access. Run the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 -perm /022 -type d -exec chmod 755 '{}' \;
Verify the system-wide shared library directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" have mode 0755 or less permissive.
Check that the system-wide shared library directories have mode 0755 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 of the aforementioned directories are found to be group-writable or world-writable, this is a finding.
V-237608
False
SLES-12-010872
Verify the system-wide shared library directories "/lib", "/lib64", "/usr/lib" and "/usr/lib64" have mode 0755 or less permissive.
Check that the system-wide shared library directories have mode 0755 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 of the aforementioned directories are found to be group-writable or world-writable, this is a finding.
M
4033