4.1.2.5 Ensure 'ssoCookieName' LTPA cookie name is set

Information

The server will authenticate only the LTPA cookie name that is configured. When the request contains other LTPA cookie names, they will be ignored.

Changing the LTPA cookie name helps make the cookie uniquely usable across multiple Liberty servers. It also helps hides the intended use of the cookie which helps prevent a bad actor from knowing how to try and misuse the cookie.

Solution

Set the ssoCookieName attribute to something other than LtpaToken2 in the webAppSecurity in the ${server.config.dir}/configDropins/overrides/*.xml For Example, obscureCookieName2

<webAppSecurity ssoCookieName="obscureCookieName2" />

Set the useOnlyCustomCookieName attribute to true in the webAppSecurity in the ${server.config.dir}/configDropins/overrides/*.xml

<webAppSecurity useOnlyCustomCookieName="true" />

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-23

Plugin: Unix

Control ID: 6bce3fafb92ee9825c2be34dcebfcb7e373e8d0365f9bc3360cb4131485a4e2a