Performance Charts must not enable support for TRACE requests.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256637 | SRG-APP-000266-WSR-000160 | VCPF-70-000027 | SV-256637r888402_rule | 2023-02-21 | 1 |
Description
"TRACE" is a technique for a user to request internal information about Tomcat. This is useful during product development but should not be enabled in production.
Allowing an attacker to conduct a TRACE operation against Performance Charts will expose information that would be useful to perform a more targeted attack. Performance Charts provides the "allowTrace" parameter as means to disable responding to TRACE requests.
ℹ️ Check
At the command prompt, run the following command:
# grep allowTrace /usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
If "allowTrace" is set to "true", this is a finding.
If no line is returned, this is not a finding.
✔️ Fix
Navigate to and open:
/usr/lib/vmware-perfcharts/tc-instance/conf/server.xml
Locate and navigate to 'allowTrace="true"'.
Remove the 'allowTrace="true"' setting.
Restart the service with the following command:
# vmon-cli --restart perfcharts