Check: GEN002400
HP-UX 11.23 STIG:
GEN002400
(in version v1 r8)
Title
The system must be checked weekly for unauthorized setuid files as well as unauthorized modification to authorized setuid files. (Cat II impact)
Discussion
Files with the setuid bit set will allow anyone running these files to be temporarily assigned the UID of the file. While many system files depend on these attributes for proper operation, security problems can result if setuid 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 suid 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 suid files on the system and compare it with the prior list. To create a list of suid files: # find / -perm -4000 > suid-file-list
Additional Identifiers
Rule ID: SV-38472r1_rule
Vulnerability ID: V-803
Group Title: GEN002400
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 |