9.2 Disabling auto deployment 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 while Tomcat is running. 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 autoDeploy to false.

autoDeploy='false'

Default Value:

autoDeploy is set to true.

References:

https://tomcat.apache.org/tomcat-9.0-doc/deployer-howto.html#Deploying_on_a_running_Tomcat_server

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 5f2c4089eebab4d56c234daa6ebb9e2c4fafcb40ace6ebaad6e2ae6ef131fe93