Cis Tomcat8 V100 9.3

Disable deploy on startup of applications (Scored)

cyberstrikeus Updated

File contents

9.3 Disable deploy on startup of applications (Scored)

Description

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.

Audit Procedure

Perform the following to ensure deployOnStartup is set to false.

$ grep "deployOnStartup" $CATALINA_HOME/conf/server.xml

Remediation

In the $CATALINA_HOME/conf/server.xml file, change deployOnStartup to false.

<Host name="localhost" appBase="webapps"
      unpackWARs="true" autoDeploy="false"
      deployOnStartup="false">

Default Value

deployOnStartup is set to true.

References

  1. https://tomcat.apache.org/tomcat-8.0-doc/deployer-howto.html#Deployment_on_Tomcat_startup
  2. https://tomcat.apache.org/tomcat-8.0-doc/config/host.html#Automatic_Application_Deployment

CIS Controls

v7:

  • 5.1 Establish Secure Configurations
    • Maintain documented, standard security configuration standards for all authorized operating systems and software.

Profile Applicability

  • Level 2

cyberstrikeus/cyberstrike/tree/main/.cyberstrike/skill/CIS_benchmarks/Server_Software/Apache_Tomcat/CIS_Apache_Tomcat_8_Benchmark_v1.0.0/cis-tomcat8-v100-9.3 commit 640cabcb69

Frequently asked questions

npx skillmds@latest add cyberstrikeus/cis-tomcat8-v100-9-3