RHEL-06-000045 - Library files must have mode 0755 or less permissive - '/lib/*'.

Information

Files from shared library directories are loaded into the address space of processes (including privileged ones) or of the kernel itself at runtime. Restrictive permissions are necessary to protect the integrity of the system.

Solution

System-wide shared library files, which are linked to executables during process load time or run time, are stored in the following directories by default:

/lib
/lib64
/usr/lib
/usr/lib64

If any file in these directories is found to be group-writable or world-writable, correct its permission with the following command:

# chmod go-w [FILE]

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_6_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-217883r603264_rule, STIG-ID|RHEL-06-000045, STIG-Legacy|SV-50265, STIG-Legacy|V-38465, Vuln-ID|V-217883

Plugin: Unix

Control ID: c13ee78f5667c18ab8eeefd92c7155907cac6e04f30d1eed9156e15cb55fbdff