9.2 Disable deploy on startup of applications

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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

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"

See Also

https://workbench.cisecurity.org/benchmarks/15137