SV-230260r627750_rule
V-230260
SRG-OS-000259-GPOS-00100
RHEL-08-010330
CAT II
10
Configure the library files to be protected from unauthorized access. Run the following command, replacing "[FILE]" with any library file with a mode more permissive than 0755.
$ sudo chmod 0755 [FILE]
Verify the system-wide shared library files contained in the following directories have mode "0755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /0022 -type f -exec ls -l {} \;
If any system-wide shared library file is found to be group-writable or world-writable, this is a finding.
V-230260
False
RHEL-08-010330
Verify the system-wide shared library files contained in the following directories have mode "0755" or less permissive with the following command:
$ sudo find -L /lib /lib64 /usr/lib /usr/lib64 -perm /0022 -type f -exec ls -l {} \;
If any system-wide shared library file is found to be group-writable or world-writable, this is a finding.
M
2921