Postgres Enterprise Managerで監視エージェントが他の全エージェントのジョブを操作できる脆弱性
Summary
Postgres Enterprise Manager(PEM)7.3.0以降10.6.1未満では、PEMエージェントが自身のジョブに限定されず、他のエージェントのジョブを作成・変更・削除できる脆弱性が見つかりました。1台の監視対象ホストが侵害されると、監視対象のデータベースやPEMサーバーのバックエンドに対してスーパーユーザー相当のSQL操作が可能になるおそれがあります。修正版の10.6.1で、エージェントからのジョブ作成や定義の変更ができなくなるため、速やかに10.6.1以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Postgres Enterprise Manager(PEM)7.3.0以降10.6.1未満では、PEMエージェントが自身のジョブに限定されず、他のエージェントのジョブを作成・変更・削除できる脆弱性が見つかりました。1台の監視対象ホストが侵害されると、監視対象のデータベースやPEMサーバーのバックエンドに対してスーパーユーザー相当のSQL操作が可能になるおそれがあります。修正版の10.6.1で、エージェントからのジョブ作成や定義の変更ができなくなるため、速やかに10.6.1以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| EnterpriseDBPostgres Enterprise Manager |
≥ 7.3.0, < 10.6.1→ 10.6.1 |
10.6.1 |
Original description The description as published by the source.
In Postgres Enterprise Manager (PEM), the row-level security policies on pem.job and pem.jobstep that apply to PEM agents do not limit an agent to its own jobs. An attacker who controls one monitored host, and so its PEM agent certificate, can create, change or delete jobs for every other agent, including the agent on the PEM server. Agents run SQL job steps with the database credentials of the server they monitor, and shell job steps where batch jobs are enabled, so compromising one monitored host can give superuser SQL access to every monitored database and to the PEM backend.
From PEM 10.6.1, PEM agents can no longer create jobs or change job definitions or job steps.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web enterprisedb.com
- web nvd.nist.gov
- web enterprisedb.com
- web github.com