Rule version VCPF-80-000036 · STIG v2 · 2026-08-26
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.
At the command prompt, run the following command:
# xmllint --xpath "//Connector[@allowTrace = 'true']" /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
Expected result:
XPath set is empty
If any connectors are returned, this is a finding.
Navigate to and open:
/usr/lib/vmware-perfcharts/tc-instance/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 perfcharts