EPAS-00-006100 - Access to database files must be limited to relevant processes and to authorized, administrative users.

Information

Applications, including DBMSs, must prevent unauthorized and unintended information transfer via shared system resources. Permitting only DBMS processes and authorized, administrative users to have access to the files where the database resides helps ensure that those files are not shared inappropriately and are not open to backdoor access and manipulation.

Solution

Run these commands:

> chown enterprisedb <PostgreSQL data directory>

> chgrp enterprisedb <PostgreSQL data directory>

> chmod 700 <PostgreSQL data directory>

The default path for the postgresql data directory is /var/lib/edb/as<version>/data (PGDATA), but this will vary according to local circumstances.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_EPAS_V1R1_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001090, Rule-ID|SV-259262r938839_rule, STIG-ID|EPAS-00-006100, Vuln-ID|V-259262

Plugin: Unix

Control ID: bd9ad0c7e781e33dbbbe067d6e1581db774897a808593f0b57e0a70117217153