SV-256768r889274_rule
V-256768
SRG-APP-000266-WSR-000159
VCST-70-000024
CAT II
10
Navigate to and open:
/usr/lib/vmware-sso/vmware-sts/conf/server.xml
Locate the following Host block:
<Host ...>
...
</Host>
Inside this block, remove any existing Valve with className="org.apache.catalina.valves.ErrorReportValve" and add the following:
<Valve className="org.apache.catalina.valves.ErrorReportValve" showServerInfo="false" showReport="false"/>
Restart the service with the following command:
# vmon-cli --restart sts
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
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.
V-256768
False
VCST-70-000024
At the command prompt, run the following command:
# xmllint --xpath '/Server/Service/Engine/Host/Valve[@className="org.apache.catalina.valves.ErrorReportValve"]' /usr/lib/vmware-sso/vmware-sts/conf/server.xml
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.
M
5527