4.8 Restrict access to Tomcat catalina.properties

Information

catalina.properties is a Java properties file which contains settings for Tomcat including class loader information, security package lists, and performance properties. It is recommended that access to this file properly protect from unauthorized changes.

Restricting access to this file will prevent local users from maliciously or inadvertently altering Tomcat's security policy.

Solution

Perform the following to restrict access to catalina.properties :

- Set the ownership of the $CATALINA_HOME/conf/catalina.properties to tomcat_admin:tomcat # chown tomcat_admin:tomcat $CATALINA_HOME/conf/catalina.properties
- Set the permissions of the $CATALINA_HOME/conf/catalina.properties to 600 # chmod 600 $CATALINA_HOME/conf/catalina.properties

See Also

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

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 16cf19629adf3d58f5ec19735a68f4d0eb36892170cecfd34099bc85763bbaaf