OL6-00-000516 - The system package management tool must verify ownership on all files and directories associated with packages.

Information

Ownership of system binaries and configuration files that is incorrect could allow an unauthorized user to gain privileges that they should not have. The ownership set by the vendor should be maintained. Any deviations from this baseline should be investigated.

Solution

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

# rpm -qf [file or directory name]
# rpm --setugids [package]

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Rule-ID|SV-209061r793782_rule, STIG-ID|OL6-00-000516, STIG-Legacy|SV-64799, STIG-Legacy|V-50593, Vuln-ID|V-209061

Plugin: Unix

Control ID: ad85af68db24ef1218060a95b9ec809d989d50e123fbbc65ab577e49a40ac853