VMware Bitnami
[pgpool] Unauthenticated access to postgres through pgpool
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.6.0-debian-12-r8
Fixed in 4.6.0-debian-12-r8
- < 16.0.0
Fixed in 16.0.0
Mitigation
Upgrade Bitnami to 4.6.0-debian-12-r8 or later.
Upgrade Bitnami to 16.0.0 or later.
References
- Vendor advisory github.com/bitnami/charts/security/advisories/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.