4.11 Restrict access to Tomcat logging.properties

Information

logging.properties is a Tomcat file which specifies the logging configuration. It is recommended that access to this file properly protect against unauthorized changes.

Rationale:

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 logging.properties:

Set the ownership of the $CATALINA_HOME/conf/logging.properties to tomcat_admin:tomcat.

# chown tomcat_admin:tomcat $CATALINA_HOME/conf/logging.properties

Set the permissions for the $CATALINA_HOME/conf/logging.properties file to 600.

# chmod 600 $CATALINA_HOME/conf/logging.properties

Default Value:

The default permissions are 600.

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3, CSCv6|3.1, CSCv7|14.6

Plugin: Unix

Control ID: 0485456237b2f1df8a14c8d871867f8aeea062949380f83b356393b774a73092