Internal security vulnerability scans may report a risk regarding unauthenticated access to Greenplum Command Center (GPCC) ports 6162 and 6163. These ports are used by the Prometheus metrics exporter and, depending on the configuration, may allow unauthorized scraping of system metrics.
The GPCC Prometheus exporter endpoints (/cluster_metrics, /table_metrics) are exposed on ports 6162 and 6163. By default, authentication may not be enforced unless a security token is explicitly configured in the environment.
Use one of the following methods to mitigate the security risk.
Configure a security token to require authentication for all metrics requests.
$HOME/gpmetrics/gpcc.conf.[metrics_export] section:If Prometheus monitoring is not required, disable the ports entirely by modifying the GPCC application configuration.
app.conf file in the GPCC installation directory.-1: