UCF STIG Viewer Logo

Anonymous FTP user access to interactive scripts is prohibited.


Overview

Finding ID Version Rule ID IA Controls Severity
V-2270 WG430 A22 SV-36641r1_rule Medium
Description
The directories containing the CGI scripts, such as PERL, must not be accessible to anonymous users via FTP. This applies to all directories that contain scripts that can dynamically produce web pages in an interactive manner (i.e., scripts based upon user-provided input). Such scripts contain information that could be used to compromise a web service, access system resources, or deface a web site.
STIG Date
APACHE 2.2 Site for UNIX Security Technical Implementation Guide 2019-01-07

Details

Check Text ( C-29981r1_chk )
Locate the directories containing the CGI scripts. These directories should be language-specific (e.g., PERL, ASP, JS, JSP, etc.).

Using ls –al, examine the file permissions on the CGI, the cgi-bin, and the cgi-shl directories.

Anonymous FTP users must not have access to these directories.

If the CGI, the cgi-bin, or the cgi-shl directories can be accessed by any group that does not require access, this is a finding.
Fix Text (F-26838r1_fix)
If the CGI, the cgi-bin, or the cgi-shl directories can be accessed via FTP by any group or user that does not require access, remove permissions to such directories for all but the web administrators and the SAs. Ensure that any such access employs an encrypted connection.