The vCenter ESX Agent Manager service must disable stack tracing.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259009 | SRG-APP-000141-AS-000095 | VCEM-80-000036 | SV-259009r960963_rule | 2024-12-16 | 2 |
Description
Stack tracing provides debugging information from the application call stacks when a runtime error is encountered. If stack tracing is left enabled, Tomcat will provide this call stack information to the requestor, which could result in the loss of sensitive information or data that could be used to compromise the system.
ℹ️ Check
At the command prompt, run the following command:
# xmllint --xpath "//Connector[@allowTrace = 'true']" /usr/lib/vmware-eam/web/conf/server.xml
Expected result:
XPath set is empty
If any connectors are returned, this is a finding.
✔️ Fix
Navigate to and open:
/usr/lib/vmware-eam/web/conf/server.xml
Navigate to and locate:
'allowTrace="true"'
Remove the 'allowTrace="true"' setting.
Note: If "allowTrace" is not present, it defaults to "false".
Restart the service with the following command:
# vmon-cli --restart eam