VCST-70-000024 - The Security Token Service must be configured to not show error reports.

Information

Web servers will often display error messages to client users, displaying 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, the Security Token Service must be configured to not show server version information in error messages.

Solution

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

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-256768r889274_rule, STIG-ID|VCST-70-000024, Vuln-ID|V-256768

Plugin: Unix

Control ID: 3713f8ad61f444f5342a2e3c9c4e4214317733f8a94b57d68ace4d113639dd06