4.4.14 Ensure 'invalidateOnUnauthorizedSessionRequestException' is set to 'false'

Information

When a user tries to access a session owned by another user, the UnauthorizedSessionRequestException is raised so the user cannot continue.

If this is set to true, there is no exception raised. The only reason to enable this is to suppress the exception when the session is accessed after a user's token is expired.

Solution

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

<httpSession invalidateOnUnauthorizedSessionRequestException="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: 98418964c1f5cd3f586f6448f2c49c32cb9d52429441091da25d7b7202f84350