UCF STIG Viewer Logo

The system must be checked weekly for unauthorized setgid files as well as unauthorized modification to authorized setgid files.


Overview

Finding ID Version Rule ID IA Controls Severity
V-804 GEN002460 SV-38473r1_rule DCSL-1 Medium
Description
Files with the setgid bit set will allow anyone running these files to be temporarily assigned the group id of the file. While many system files depend on these attributes for proper operation, security problems can result if setgid is assigned to programs that allow reading and writing of files, or shell escapes.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-09-14

Details

Check Text ( C-36402r1_chk )
NOTE: This will virtually always require a manual review. Determine if a weekly automated or manual process is used to generate a list of sgid files on the system and compare it with the prior list. If no such process is in place, this is a finding.
Fix Text (F-31741r1_fix)
Establish a weekly automated or manual process to generate a list of sgid files on the system and compare it with the prior list. To create a list of sgid files:

# find / -type f -perm -2000 -exec ls -lL {} \; >> sgid-file-list