UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The ftpusers file must have mode 0640 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-843 GEN004940 SV-37542r1_rule ECLP-1 Medium
Description
Excessive permissions on the ftpusers file could permit unauthorized modification. Unauthorized modification could result in Denial of Service to authorized FTP users or permit unauthorized users to access the FTP service.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2015-03-12

Details

Check Text ( C-36199r1_chk )
Check the permissions of the ftpusers file.

Procedure:
For gssftp:
# ls -l /etc/ftpusers

For vsftp:
# ls -l /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers
If the ftpusers file has a mode more permissive than 0640, this is a finding.

Fix Text (F-31457r1_fix)
Change the mode of the ftpusers file to 0640.

Procedure:
For gssftp:
# chmod 0640 /etc/ftpusers

For vsftp:
# chmod 0640 /etc/vsftpd.ftpusers /etc/vsftpd/ftpusers