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.

See Also

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