TMAegis
Thêm quy tắc cho postgres

TMA-POSTGRES-6.1

Understanding attack vectors and runtime parameters

ThấpCấp 1Xem xét thủ côngpostgres

Mô tả

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

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --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.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

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.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
postgresdatabaseconfigurationmanual
Tham chiếu
CIS PostgreSQL 18 Benchmark v1.0.0 - 6.1 Understanding attack vectors and runtime parameters