Check: RHEL-06-000517
Red Hat Enterprise Linux 6 STIG:
RHEL-06-000517
(in versions v2 r2 through v1 r15)
Title
The system package management tool must verify group-ownership on all files and directories associated with packages. (Cat III impact)
Discussion
Group-ownership of system binaries and configuration files that is incorrect could allow an unauthorized user to gain privileges that they should not have. The group-ownership set by the vendor should be maintained. Any deviations from this baseline should be investigated.
Check Content
The following command will list which files on the system have group-ownership different from what is expected by the RPM database: # rpm -Va | grep '^......G' 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
The RPM package management system can restore group-ownership of the package files and directories. The following command will update files and directories with group-ownership different from what is expected by the RPM database: # rpm -qf [file or directory name] # rpm --setugids [package]
Additional Identifiers
Rule ID: SV-218097r603264_rule
Vulnerability ID: V-218097
Group Title: SRG-OS-000480
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |