VCPF-80-000137 The vCenter Perfcharts service directory listings parameter must be disabled.

Information

Enumeration techniques, such as URL parameter manipulation, rely on being able to obtain information about the web server's directory structure by locating directories without default pages. In this scenario, the web server will display to the user a listing of the files in the directory being accessed. Ensuring that directory listing is disabled is one approach to mitigating the vulnerability.

In Tomcat, directory listing is disabled by default but can be enabled via the "listings" parameter. Ensure this node is not present to have the default effect.

Solution

Navigate to and open:

/usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml

Find and remove the entire block returned in the check.

Example:

<init-param>
<param-name>listings</param-name>
<param-value>true</param-value>
</init-param>

Restart the service with the following command:

# vmon-cli --restart perfcharts

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-259093r960963_rule, STIG-ID|VCPF-80-000137, Vuln-ID|V-259093

Plugin: Unix

Control ID: ddda24465c5413fa4f1682e650caa216934f129c3b5d15847ddb3c8a90081a44