Check: GEN005040
HP-UX 11.31 STIG:
GEN005040
(in versions v1 r19 through v1 r13)
Title
All FTP users must have a default umask of 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 stored as a 4-digit number, the first digit representing special access modes is typically ignored or required to be zero.
Check Content
Check the umask setting for the "ftp" user. # su - ftp $ umask If the umask value does not return 077, this is a finding.
Fix Text
Edit the initialization files for the ftp user and set the umask to 077.
Additional Identifiers
Rule ID: SV-38263r1_rule
Vulnerability ID: V-12011
Group Title: GEN005040
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000225 |
The organization employs the concept of least privilege, allowing only authorized accesses for users (and processes acting on behalf of users) which are necessary to accomplish assigned tasks in accordance with organizational missions and business functions. |
Controls
Number | Title |
---|---|
AC-6 |
Least Privilege |