4.11 Restrict access to Tomcat logging.properties

Information

logging.properties is a Tomcat files which specifies the logging configuration. 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 logging.properties :

- Set the ownership of the $CATALINA_BASE/conf/logging.properties to tomcat_admin:tomcat # chown tomcat_admin:tomcat $CATALINA_BASE/conf/logging.properties
- Set the permissions for the $CATALINA_BASE/conf/logging.properties file to 600 # chmod 600 $CATALINA_BASE/conf/logging.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: 7112b2593d4f0212e2e0a868c82b155c470b8fafa2eb4397254af0da862d6139