2.8 Ensure 'credentials' are not stored in configuration files - Applications

Information

The <credentials> element of the <authentication> element allows optional definitions of name and password for IIS Manager User accounts within the configuration file. Forms based authentication also uses these elements to define the users. IIS Manager Users can use the administration interface to connect to sites and applications in which they've been granted authorization. Note that the <credentials> element only applies when the default provider, ConfigurationAuthenticationProvider, is configured as the authentication provider. It is recommended that passwordFormat be set to a value other than Clear, such as SHA1 or MD5.

Authentication credentials should always be protected to reduce the risk of stolen authentication credentials. For security reasons, it is recommended that user credentials not be stored an any IIS configuration files.

Solution

Authentication mode is configurable at the machine.config, root-level web.config, or application-level web.config:

1. Locate and open the configuration file where the credentials are stored
2. Find the <credentials> element
3. If present, remove the section

This will remove all references to stored users in the configuration files.

See Also

https://workbench.cisecurity.org/files/165

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CSCv6|16.13, CSCv6|16.14

Plugin: Windows

Control ID: 4de2539add090eed394b41f01fa68c6150c2f5b298d7be246426ff48433ee350