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

The Security Token Service must be configured to show error pages with minimal information.

DISA Rule

SV-239675r679097_rule

Vulnerability Number

V-239675

Group Title

SRG-APP-000266-WSR-000159

Rule Version

VCST-67-000024

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Navigate to and open /usr/lib/vmware-sso/vmware-sts/conf/server.xml.

Locate the following Host block:

<Host appBase="webapps" ...>
...
</Host>

Inside this block, add the following on a new line:

<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />

Check Contents

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-sso/vmware-sts/conf/server.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' -

Expected result:

<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false"/>

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

Vulnerability Number

V-239675

Documentable

False

Rule Version

VCST-67-000024

Severity Override Guidance

At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-sso/vmware-sts/conf/server.xml | sed '2 s/xmlns=".*"//g' | xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' -

Expected result:

<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false"/>

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

Check Content Reference

M

Target Key

5333

Comments