Backup interactive scripts on the IIS 10.0 server must be removed.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-218781SRG-APP-000141-WSR-000087IIST-SI-000263SV-218781r1022700_rule2025-02-112
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. 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 to search web servers for such files and are able to exploit the information contained in them.
ℹ️ Check
If the website does not utilize CGI, this finding is Not Applicable. Open the IIS 10.0 Manager. Right-click the IIS 10.0 web site name and select "Explore". Search for the listed script extensions Search for the following files: *.bak, *.old, *.temp, *.tmp, *.backup, or “copy of...”. If files with these extensions are found, this is a finding.
✔️ Fix
Remove the backup files from the production web server.