UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-218096 RHEL-06-000516 SV-218096r505923_rule Low
Description
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.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2020-09-03

Details

Check Text ( C-19577r377303_chk )
The following command will list which files on the system have ownership different from what is expected by the RPM database:

# rpm -Va | grep '^.....U'


If any output is produced, verify that the changes were due to STIG application and have been documented with the ISSO.

If any output has not been documented with the ISSO, this is a finding.
Fix Text (F-19575r377304_fix)
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]