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: 7a6c07a0a81efec9fd0d74ad9e5885596168d4fbb0364cffcb943da102f2b056