1. Home
  2. Security Hardening
  3. CIS Apache Tomcat 8 L2 V1.1.0
  4. Disable deploy on startup of applications

Disable deploy on startup of applications

Details

Tomcat allows auto deployment of applications on startup. It is recommended that this capability be disabled.

Rationale:

This could allow malicious or untested applications to be deployed and should be disabled.

Solution

In the $CATALINA_HOME/conf/server.xml file, change deployOnStartup to false.

deployOnStartup=’false’

Default Value:

deployOnStartup is set to true

References:

https://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#Deployment_on_Tomcat_startup

https://tomcat.apache.org/tomcat-8.0-doc/config/host.html#Automatic_Application_Deployment

https://tomcat.apache.org/tomcat-8.0-doc/config/host.html

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