SV-234834r1106567_rule
V-234834
SRG-OS-000259-GPOS-00100
SLES-15-010351
CAT II
10
Configure the systemwide shared library files contained in the directories "/lib", "/lib64", "/usr/lib", and "/usr/lib64" to have mode 0755 or less permissive with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 -type f -name '*.so*' -perm /022 -exec chmod go-w {} +
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", "/usr/lib", and "/usr/lib64" have mode 0755 or less permissive.
Check that the systemwide shared library files have mode 0755 or less permissive with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 -type f -name '*.so*' -perm /022 -exec stat -c "%n %a" {} +
If any output is returned, this is a finding.
V-234834
False
SLES-15-010351
Verify the systemwide shared library files contained in the directories "/lib", "/lib64", "/usr/lib", and "/usr/lib64" have mode 0755 or less permissive.
Check that the systemwide shared library files have mode 0755 or less permissive with the following command:
> sudo find /lib /lib64 /usr/lib /usr/lib64 -type f -name '*.so*' -perm /022 -exec stat -c "%n %a" {} +
If any output is returned, this is a finding.
M
5274