6.2 Ensured 'HashPassword' is set in UsernameToken WS-Security policy

Information

Hashing passwords in the Username token of WS-Security policy obfuscates the password which is more secure.

Using one-way hash of password in username token instead of plaintext password prevents password leaks.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Add HashPassword as seen in the example to wsdl or policy attachment files for each web service.

<sp:UsernameToken sp:IncludeToken="...">
...
<wsp:Policy>
<sp:WssUsernameToken11 />
<sp:HashPassword />
</wsp:Policy>
..
</sp:UsernameToken>

See Also

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

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|14.8

Plugin: Unix

Control ID: bca996d5a335a5ec510baadbcafee39ad465191459c880ea09ed8687aa25f431