STIGQter STIGQter: STIG Summary: VMware vSphere 6.7 Perfcharts Tomcat Security Technical Implementation Guide Version: 1 Release: 1 Benchmark Date: 09 Mar 2021:

Performance Charts must configured to show error pages with minimal information.

DISA Rule

SV-239424r674995_rule

Vulnerability Number

V-239424

Group Title

SRG-APP-000266-WSR-000159

Rule Version

VCPF-67-000023

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

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>/error.jsp</location>
</error-page>

Check Contents

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed '2 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>/error.jsp</location>
</error-page>

If the output does not match the expected result, this is a finding.

Vulnerability Number

V-239424

Documentable

False

Rule Version

VCPF-67-000023

Severity Override Guidance

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-perfcharts/tc-instance/webapps/statsreport/WEB-INF/web.xml | sed '2 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>/error.jsp</location>
</error-page>

If the output does not match the expected result, this is a finding.

Check Content Reference

M

Target Key

5329

Comments