The vCenter Lookup service must disable stack tracing.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-259043 | SRG-APP-000141-AS-000095 | VCLU-80-000036 | SV-259043r960963_rule | 2024-07-11 | 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-lookupsvc/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-lookupsvc/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 lookupsvc |