Turn off session facade recycling

Details

The RECYCLE_FACADES can specify if a new facade will be created for each request. If a new facade is not created there is a potential for information leakage from other sessions.

Solution

Start Tomcat with RECYCLE_FACADES set to true. Add the following to your startup script:
-Dorg.apache.catalina.connector.RECYCLE_FACADES=true

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Configuration Management.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles