WG420 A22 - Backup interactive scripts on the production web server are prohibited - ??0

Information

Copies of backup files will not execute on the server, but they can be read by the anonymous user if special precautions are not taken. Such backup copies contain the same sensitive information as the actual script being executed and, as such, are useful to malicious users. Techniques and systems exist today that search web servers for such files and are able to exploit the information contained in them.

Backup copies of files are automatically created by some text editors such as emacs and edit plus. The emacs editor will write a backup file with an extension ~ added to the name of the original file. The edit plus editor will create a .bak file. Of course, this would imply the presence and use of development tools on the web server, which is a finding under WG130. Having backup scripts on the web server provides one more opportunity for malicious persons to view these scripts and use the information found in them.

Solution

Ensure that CGI backup scripts are not left on the production web server.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7(4), CAT|III, Rule-ID|SV-6930r2_rule, STIG-ID|WG420_A22, Vuln-ID|V-2230

Plugin: Unix

Control ID: 71c66ae58b7b8ce8f0ba03f418b542741bb8bb8d4b0bcc8900cec8466bf2975a