WG310 IIS6 - A web site must not contain a robots.txt file.

Information

Search engines are constantly at work on the Internet. Search engines are augmented by agents, often referred to as spiders or bots, which endeavor to capture and catalog web-site content. In turn, these search engines make the content they obtain and catalog available to any public web user.

To request that a well behaved search engine not crawl and catalog a site, the web site may contain a file called robots.txt. This file contains directories and files that the web server SA desires not be crawled or cataloged, but this file can also be used, by an attacker or poorly coded search engine, as a directory and file index to a site. This information may be used to reduce an attacker's time searching and traversing the web site to find files that might be relevant. If information on the web site needs to be protected from search engines and public view, other methods must be used.

Solution

1. Open the IIS Manager > click on the web site being reviewed.
2. In the right hand pane look for a file named robots.txt.
3. Delete the robots.txt file.

NOTE: If there is information on the web site that needs protection from search engines and public view, then other methods must be used to safeguard the data.

See Also

http://iasecontent.disa.mil/stigs/zip/July2015/U_IIS_6-0_V6R16_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, Rule-ID|SV-28797r2_rule, STIG-ID|WG310_IIS6, Vuln-ID|V-2260

Plugin: Windows

Control ID: dbc5b2859a0c4697305eed4708251d7435b80fe415e1e30d7cae5e9e612d196a