RHEL-06-000518 - The system package management tool must verify permissions on all files and directories associated with packages.

Information

Permissions on system binaries and configuration files that are too generous could allow an unauthorized user to gain privileges that they should not have. The permissions set by the vendor should be maintained. Any deviations from this baseline should be investigated.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

The RPM package management system can restore file access permissions of package files and directories. The following command will update permissions on files and directories with permissions different from what is expected by the RPM database:

# rpm --setperms [package]

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-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-218098r603264_rule, STIG-ID|RHEL-06-000518, STIG-Legacy|SV-50252, STIG-Legacy|V-38452, Vuln-ID|V-218098

Plugin: Unix

Control ID: 7daed8d4c62389e1dd8cf9954f1e6ae144f4c1a41e28c4af39b97dc0eb3f1d04