2.7 Ensure 'passwordFormat' is not set to clear - 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: 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.

Rationale:

Authentication credentials should always be protected to reduce the risk of stolen authentication credentials.

Impact:

passwordFormat will be encrypted.

Solution

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

Locate and open the configuration file where the credentials are stored

Find the <credentials> element

If present, ensure passwordFormat is not set to Clear

Change passwordFormat to SHA1

The clear text passwords will need to be replaced with the appropriate hashed version.

OR

Enter the following command in PowerShell to configure:

Set-WebConfigurationProperty -pspath 'MACHINE/WEBROOT/APPHOST/<website name>' -filter 'system.web/authentication/forms/credentials' -name 'passwordFormat' -value 'SHA1'

Default Value:

The default passwordFormat method is SHA1.

See Also

https://workbench.cisecurity.org/benchmarks/13949

Item Details

Category: IDENTIFICATION AND AUTHENTICATION, SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|IA-5(1), 800-53|SC-28, 800-53|SC-28(1), CSCv7|16.4

Plugin: Windows

Control ID: ea93580047e8f7791a4f5a4ae2c0d0e3fa485145ea7e07749e8d2b0580aa390c