Check: GEN003440
Solaris 10 SPARC STIG:
GEN003440
(in versions v2 r4 through v1 r19)
Title
"At" jobs must not set the umask to a value less restrictive than 077. (Cat II impact)
Discussion
The umask controls the default access mode assigned to newly created files. An umask of 077 limits new files to mode 700 or less permissive. Although umask is often represented as a 4-digit number, the first digit representing special access modes is typically ignored or required to be 0.
Check Content
Determine what "at" jobs exist on the system. Procedure: # ls /var/spool/cron/atjobs If there are no "at" jobs present, this is not applicable. Determine if any of the "at" jobs or any scripts referenced execute the umask command. Check for any umask setting more permissive than 077. # grep umask <at job or referenced script> If any "at" job or referenced script sets umask to a value more permissive than 077, this is a finding.
Fix Text
Edit "at" jobs or referenced scripts to remove umask commands setting umask to a value less restrictive than 077.
Additional Identifiers
Rule ID: SV-226870r854428_rule
Vulnerability ID: V-226870
Group Title: SRG-OS-000312
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002165 |
The information system enforces organization-defined discretionary access control policies over defined subjects and objects. |
Controls
Number | Title |
---|---|
AC-3 (4) |
Discretionary Access Control |