TMAegis
Другие правила для postgres

TMA-POSTGRES-6.1

Understanding attack vectors and runtime parameters

НизкийУровень 1Ручная проверкаpostgres

Описание

Understanding the vulnerability of PostgreSQL runtime parameters by the particular delivery method, or attack vector.

Как проверяется

Метод проверки: Ручная проверка

Эту рекомендацию нельзя проверить автоматически. Сканирование выводит её вместе с этими инструкциями при указании флага --include-manual.

Review all configuration settings (SELECT name, setting, source, context FROM pg_settings ORDER BY context, name;) and the files postgresql.conf, postgresql.auto.conf and pg_hba.conf, and confirm logging records all modifications and changes to the RDBMS.

Как исправляется

Метод исправления: Рекомендация или патч инфраструктуры

Keep configuration files under change control, restrict who can write them (postgres only), and enable logging/auditing (3.1.x, 3.2) so parameter changes are recorded.

Свойства

Операционные системы
Любая
Теги
postgresdatabaseconfigurationmanual
Источник
CIS PostgreSQL 18 Benchmark v1.0.0 - 6.1 Understanding attack vectors and runtime parameters