WG400 A22 - All interactive programs (CGI) must be placed in a designated directory with appropriate permissions.

Information

CGI scripts represents one of the most common and exploitable means of compromising a web server. By definition, CGI are executable by the operating system of the host server. While access control is provided via the web service, the execution of CGI programs is not otherwise limited unless the SA or Web Manager takes specific measures. CGI programs can access and alter data files, launch other programs and use the network. CGI programs can be written in any available programming language. C, PERL, PHP, Javascript, VBScript and shell (sh, ksh, bash) are popular choices.

Solution

Ensure the CGI (or equivalent i.e. scripts) directory has access controls IAW the WEB Services STIG.

See Also

https://iasecontent.disa.mil/stigs/zip/U_Apache_2-2_UNIX_V1R11_STIG.zip

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-6, CAT|II, Rule-ID|SV-6928r1_rule, STIG-ID|WG400_A22, Vuln-ID|V-2228

Plugin: Unix

Control ID: 9cd50847ca06aa52e0ffb17008156283242d6062db57b637395c13e6fee7aab1