GEN005040 - All FTP gssftp users must have a default umask of 077 - '/etc/vsftpd/vsftpd.conf anon_umask'

Information

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 (0).

Solution

Edit the initialization files for the ftp user and set the umask to 077.

Procedure:

For gssftp:
Modify the /etc/xinetd.d/gssftp file adding '-u 077' to the server_args entry.

For vsftp:
Modify the '/etc/vsftpd/vsftpd.conf' setting 'local_umask' and 'anon_umask' to 077.

See Also

http://iasecontent.disa.mil/stigs/zip/U_RedHat_5_V1R18_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, CCI|CCI-000225, Group-ID|V-12011, Rule-ID|SV-37555r1_rule, STIG-ID|GEN005040, Vuln-ID|V-12011

Plugin: Unix

Control ID: fb87bd926fd961fb0895ed895d58d39d1c9339c4ccaf7e6c618293fa78c49305