Postgres Enterprise Managerに任意のファイルを読み取られる脆弱性
Summary
Postgres Enterprise Manager(PEM)では、Webhookの送信先URLを検証せず、file://のURLでサーバー上のファイルを読み取れる問題が見つかりました。読み取った内容はPEMデータベースに保存され、PEMの利用者であれば閲覧できてしまいます。8.0.0以降10.6.1より前が対象で、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)では、Webhookの送信先URLを検証せず、file://のURLでサーバー上のファイルを読み取れる問題が見つかりました。読み取った内容はPEMデータベースに保存され、PEMの利用者であれば閲覧できてしまいます。8.0.0以降10.6.1より前が対象で、10.6.1で修正されています。影響を受ける版を利用している場合は、速やかに10.6.1へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| EnterpriseDBPostgres Enterprise Manager |
≥ 8.0.0, < 10.6.1→ 10.6.1 |
10.6.1 |
Original description The description as published by the source.
In Postgres Enterprise Manager (PEM), webhook URLs are not validated, and the PEM agent does not restrict the URL schemes it uses to deliver webhooks. A user with the alert configuration role (pem_config_alert) can set up a webhook with a file:// URL. When the webhook is sent, the agent on the PEM server, which runs as root by default, reads the local file and stores its contents in the webhook error record in the PEM database, where any PEM user can read it.
From PEM 10.6.1, PEM accepts and sends only http and https webhook URLs.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web enterprisedb.com
- web nvd.nist.gov
- web enterprisedb.com
- web github.com