WarehousePG unauthorized standby entry creation in coordinator function
EnterpriseDB WarehousePG
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| EnterpriseDB WarehousePG |
| No fix yet |
Original description
WarehousePG (WHPG) 6.27.1 through 6.27.6 and 7.2.1 through 7.6.0 are affected by a missing authorization vulnerability (CWE-862) in gp_add_coordinator_standby(). The function is named gp_add_master_standby() in WHPG 6, and WHPG 7 keeps that name as an alias. Unlike the other segment add and remove functions, it does not require superuser privileges. A low-privileged user who can open a utility-mode connection can use it to add a fake standby coordinator entry to gp_segment_configuration on a cluster that has no standby configured. Administrators then cannot add a real standby until a superuser removes the fake entry. User data is not exposed or modified.
From the CVE record · EDB