The bitnami/pgpool Docker image, and the bitnami/postgres-ha k8s chart, under default configurations, comes with an 'repmgr' user that allows unauthenticated access to the database inside the cluster. The PGPOOL_SR_CHECK_USER is the user that Pgpool itself uses to perform streaming replication checks against nodes, and should not be at trust level. This allows to log into a PostgreSQL database using the repgmr user without authentication. If Pgpool is exposed externally, a potential attacker could use this user to get access to the service. This is also present within the bitnami/postgres-ha Kubernetes Helm chart.
The 'repmgr' user (PGPOOL_SR_CHECK_USER) is used by Pgpool to perform streaming replication checks between cluster nodes. In the default configuration, this account operates at the 'trust' authentication level, meaning that a connection to the database using this user does not require a password. An attacker gaining network access to the Pgpool instance can log in to the PostgreSQL database as 'repmgr' without any credentials. The issue affects both the bitnami/pgpool Docker image and the bitnami/postgres-ha Helm chart for Kubernetes.
An attacker can gain unauthorized access to the PostgreSQL database running inside the cluster, which if Pgpool is exposed externally can lead to data reading, modification, or deletion. Due to the high CVSS score, compromise of system and network resources beyond the direct scope of the database is also possible.
Apply patches available from the vendor according to the references provided. Additionally, immediately change the authentication configuration of the 'repmgr' user (PGPOOL_SR_CHECK_USER) from 'trust' level to a password-requiring mechanism (e.g., 'md5' or 'scram-sha-256') and restrict network access to Pgpool only to trusted sources within the cluster.
The bitnami/pgpool Docker image and bitnami/postgres-ha Kubernetes Helm chart running in default configuration; specific versions indicated in the vendor's references
CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XBroadcom Bitnami
APPBroadcom< 16.0.0Broadcom Bitnami\/pgpool
APPBroadcom< 4.6.0-1
Related vulnerabilities
SSRF w mod_proxy Apache HTTP Server — przekierowanie żądań przez atakującego
RCE w Spring Data Commons — podatność property bindera
VMware Avi Load Balancer — Authentication Bypass w Control Plane
Atak przez fałszowanie odpowiedzi w protokole RADIUS (RFC 2865) via kolizja MD5
Buffer overflow w Broadcom Symantec Messaging Gateway umożliwiający RCE jako root