TCAT-AS-000100 – Connectors must be secured.

Details

The unencrypted HTTP protocol does not protect data from interception or alteration which can subject users to eavesdropping, tracking, and the modification of received data. To secure an HTTP connector, both the secure and scheme flags must be set.

Solution

From the Tomcat server as a privileged user, edit the server.xml file.

sudo nano $CATALINA_BASE/conf/server.xml.

Locate each element which is lacking a secure setting.

EXAMPLE Connector:
connectionTimeout=’20000′
redirectPort=’443′ />

Set or add scheme=’https’ and secure=’true’ for each HTTP connector element.

EXAMPLE:
maxThreads=’150′ scheme=’https’ secure=’true’…/>

Save the server.xml file and restart Tomcat:
sudo systemctl restart tomcat
sudo systemctl reload-daemon

Supportive Information

The following resource is also helpful.

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

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles