В Postgres Enterprise Manager (PEM политики безопасности на уровне строк на pem.job и pem.jobstep, которые применяются к агентам PEM, не ограничивают агента своими собственными задачами. Злоумышленник, который контролирует один контролируемый хост и, следовательно, его сертификат агента PEM, может создавать, изменять или удалять задания для любого другого агента, включая агента на сервере PEM. 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.
Из PEM 10.6.1, PEM агентов больше не могут создавать рабочие места или изменять определения рабочих мест или шаги работы.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v4.0