Performance Charts must be configured to show error pages with minimal information.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-256634 | VCPF-70-000024 | SV-256634r888393_rule | CCI-001312 | medium |
| Description | ||||
| 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". | ||||
| STIG | Date | |||
| VMware vSphere 7.0 vCenter Appliance Perfcharts Security Technical Implementation Guide | 2023-02-21 | |||
Related Frameworks
2 paths across 2 frameworks
Related Frameworks
NIST 800-531 mapping
SI-11
1.00
- DISA · V1R1 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
CCI1 mapping
CCI-001312
1.00
- DISA · V1R1 · disa_xccdf · related
Details
Check Text (C-256634r888393_chk)
At the command prompt, run the following command:
# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed 's/xmlns=".*"//g' | xmllint --xpath '/web-app/error-page/exception-type["text()=java.lang.Throwable"]/parent::error-page' -
Expected result:
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/http_error.jsp</location>
</error-page>
If the output does not match the expected result, this is a finding.
Fix Text (F-60252r888392_fix)
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