UCF STIG Viewer Logo

ESX Agent Manager must be configured to show error pages with minimal information.


Finding ID Version Rule ID IA Controls Severity
V-239395 VCEM-67-000024 SV-239395r674679_rule Medium
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, the Security Token Service must be configured with a catch-all error handler that redirects to a standard "error.jsp".
VMware vSphere 6.7 EAM Tomcat Security Technical Implementation Guide 2022-06-17


Check Text ( C-42628r674677_chk )
At the command prompt, execute the following command:

# xmllint --format /usr/lib/vmware-eam/web/webapps/eam/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:


If the output does not match the expected result, this is a finding.
Fix Text (F-42587r674678_fix)
Navigate to and open:


Add the following section under the node: