The vCenter Perfcharts service must be configured to use a specified IP address and port.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-259078 | SRG-APP-000142-AS-000014 | VCPF-80-000037 | SV-259078r960966_rule | 2024-07-11 | 2 |
Description
The server must be configured to listen on a specified IP address and port. Without specifying an IP address and port for server to use, the server will listen on all IP addresses available.
Accessing the hosted application through an IP address normally used for nonapplication functions opens the possibility of user access to resources, utilities, files, ports, and protocols that are protected on the desired application IP address.
ℹ️ Check
At the command prompt, run the following command:
# xmllint --xpath "//Connector[(@port = '0') or not(@address)]" /usr/lib/vmware-perfcharts/tc-instance/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-perfcharts/tc-instance/conf/server.xml
Navigate to the <Connector> node and configure the port and address as follows.
port="${bio.http.port}"
address="localhost"
Restart the service with the following command:
# vmon-cli --restart perfcharts