9.3 Disable deploy on startup of applications

Information

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

See Also

https://workbench.cisecurity.org/files/2506

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv7|5.1

Plugin: Unix

Control ID: 4239f59a29d357caba51d33190b15cbc19f8d2effe6fd1cb945b08d598ae6a21