Skip to content

Backup interactive scripts on the production web server are prohibited

An XCCDF Rule

Description

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.

Rationale

Such backup copies contain the same sensitive information as the actual scripts 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 such as emacs and VIM. Editors may 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.

ID
xccdf_org.ssgproject.content_rule_httpd_remove_backups
Severity
Medium
References
Updated