Check: GEN002460
HP-UX 11.23 STIG:
GEN002460
(in version v1 r8)
Title
The system must be checked weekly for unauthorized setgid files as well as unauthorized modification to authorized setgid files. (Cat II impact)
Discussion
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.
Check Content
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
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
Additional Identifiers
Rule ID: SV-38473r1_rule
Vulnerability ID: V-804
Group Title: GEN002460
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000318 |
The organization audits and reviews activities associated with configuration-controlled changes to the system. |
Controls
Number | Title |
---|---|
CM-3 |
Configuration Change Control |