UCF STIG Viewer Logo

Performance Charts must be configured to limit access to internal packages.


Overview

Finding ID Version Rule ID IA Controls Severity
V-239432 VCPF-67-000031 SV-239432r675019_rule Medium
Description
The "package.access" entry in the "catalina.properties" file implements access control at the package level. When this is properly configured, a Security Exception will be reported if an errant or malicious web app attempts to access the listed internal classes directly or if a new class is defined under the protected packages. Performance Charts comes preconfigured with the appropriate packages defined in "package.access", and this configuration must be maintained.
STIG Date
VMware vSphere 6.7 Perfcharts Tomcat Security Technical Implementation Guide 2022-01-03

Details

Check Text ( C-42665r675017_chk )
At the command prompt, execute the following command:

# grep -A 6 "package.access" /usr/lib/vmware-perfcharts/tc-instance/conf/catalina.properties

Expected result:

package.access = \
sun.,\
org.apache.catalina.,\
org.apache.coyote.,\
org.apache.jasper.,\
org.apache.naming.resources.,\
org.apache.tomcat.

If the output of the command does not match the expected result, this is a finding.
Fix Text (F-42624r675018_fix)
Navigate to and open /usr/lib/vmware-sso/vmware-sts/conf/catalina.properties and ensure that the "package.access" line is configured as follows:

package.access = \
sun.,\
org.apache.catalina.,\
org.apache.coyote.,\
org.apache.jasper.,\
org.apache.naming.resources.,\
org.apache.tomcat.