4.1.2.3 Ensure 'setCookieSecureFlag' secure attribute is set to 'true' for the `JWT` cookie.

Information

The secure flag on a cookie will restrict the browser to send the cookies only on encrypted channels like HTTPS.

Cookies with the secure attribute set will only be sent over encrypted HTTPS requests.

Solution

Set the setCookieSecureFlag attribute to true in the jwtSso element in ${server.config.dir}/configDropins/overrides/<any file name>.xml

<jwtSso setCookieSecureFlag="true"/>

See Also

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

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-13

Plugin: Unix

Control ID: e8b0b2ea33e86f28144d67417ce2a8047055afcea5ae249c3b525160602bf5e6