VCPF-70-000024 - Performance Charts must be configured to show error pages with minimal information.

Information

Web servers will often display error messages to client users, including enough information to aid in the debugging of the error. The information given back in error messages may display the web server type, version, patches installed, plug-ins and modules installed, type of code being used by the hosted application, and any backends being used for data storage.

This information could be used by an attacker to blueprint what type of attacks might be successful. Therefore, Performance Charts must be configured with a catchall error handler that redirects to a standard 'error.jsp'.

Solution

Navigate to and open:

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

Add the following section under the <web-apps> node:

<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/http_error.jsp</location>
</error-page>

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_7-0_Y23M07_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11a., CAT|II, CCI|CCI-001312, Rule-ID|SV-256634r888393_rule, STIG-ID|VCPF-70-000024, Vuln-ID|V-256634

Plugin: Unix

Control ID: f8deb48c6b86e73d1b585f4bdafd17dc92c9173abbee764ddb8e80c3851e2086