UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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.23 Security Technical Implementation Guide 2013-07-02

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