Horizon Alert
Summary of the vulnerability and why it matters
The Postgres Enterprise Manager (PEM) system has a vulnerability where a compromised agent host can gain extensive access to the PEM server, including its certificate authority keys. This allows an attacker to impersonate other agents and potentially gain control over the entire monitored environment. Updates to PEM address this issue by removing sensitive role privileges from agents.
- Agents could access sensitive server files.
- Critical access gained if agent is compromised.
- Confirm relevance and exposure of PEM server.
Attack Path
How an attacker could exploit the issue
An attacker who gains control of a monitored host can leverage a compromised PEM agent certificate to read and write files on the PEM server. This allows them to steal the PEM certificate authority key, enabling them to impersonate other agents.
- Requires control of a monitored host.
- Leverages PEM agent certificate.
- Allows impersonation and unauthorized certificate issuance.
Live Threat
Current exploitation, exposure, and threat context
When supported by the advisory, an attacker who controls a monitored host and its PEM agent certificate could gain the ability to read and write files on the PEM server as the postgres operating system user. This could potentially allow them to compromise the PEM certificate authority key, enabling them to impersonate other agents.
- Server files and CA key at risk.
- Attacker controls monitored host certificate.
- Compromise PEM server and impersonate agents.
Operational Fix
Recommended remediation, mitigation, and detection steps
The PostgreSQL Enterprise Manager (PEM) backend and its agents present a critical risk. Platform or infrastructure teams managing PEM deployments should prioritize identifying all PEM server instances. Confirming the exposure of these servers and their associated agents is the first practical step to understanding the blast radius and assigning ownership for remediation.
- Platform or Infrastructure teams own this issue.
- Verify PEM server reachability and agent certificate control.
- Plan and coordinate agent and PEM backend upgrades.