1. Home
  2. Security Hardening
  3. DISA STIG VMware vSphere 6.7 PostgreSQL V1R1
  4. VCPG-67-000019 – VMware Postgres must provide non-privileged users with minimal error information.

VCPG-67-000019 – VMware Postgres must provide non-privileged users with minimal error information.

Details

Any DBMS or associated application providing too much information in error messages on the screen or printout risks compromising the data and security of the system. The structure and content of error messages must contain the minimal amount of information.

Databases can inadvertently provide a wealth of information to an attacker through improperly handled error messages. In addition to sensitive business or personal information, database errors can provide host names, IP addresses, user names, and other system information not required for troubleshooting but very useful to someone targeting the system.

Satisfies: SRG-APP-000266-DB-000162, SRG-APP-000267-DB-000163

Solution

At the command prompt, execute the following commands:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c ‘ALTER SYSTEM SET client_min_messages TO ‘notice’;’

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c ‘SELECT pg_reload_conf();’

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: System and Information Integrity.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles