STIGUI
V-256696CAT II — Medium severitySV-256696r961167_rule

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

Rule version VCEM-70-000024 · STIG v1 · 2026-09-10

Discussion

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 ESX Agent Manager Service must be configured with a catchall error handler that redirects to a standard "error.jsp".

Check

At the command prompt, run 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:

<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.

Fix

Navigate to and open:

/usr/lib/vmware-eam/web/webapps/eam/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>

Restart the service with the following command:

# vmon-cli --restart eam

Identifiers

Group ID
V-256696
Group title
SRG-APP-000266-WSR-000159
Rule ID
SV-256696r961167_rule
Check ID
C-60371r888642_chk
Fix ID
F-60314r888643_fix