UCF STIG Viewer Logo

vRA PostgreSQL database must be configured to validate character encoding to UTF-8.


Overview

Finding ID Version Rule ID IA Controls Severity
V-89397 VRAU-PG-000320 SV-100047r1_rule Medium
Description
A common vulnerability is unplanned behavior when invalid inputs are received. This requirement guards against adverse or unintended system behavior caused by invalid inputs, where information system responses to the invalid input may be disruptive or cause the system to fail into an unsafe state. The behavior will be derived from the organizational and system requirements and includes, but is not limited to, notification of the appropriate personnel, creating an audit record, and rejecting invalid input.
STIG Date
VMW vRealize Automation 7.x PostgreSQL Security Technical Implementation Guide 2018-10-12

Details

Check Text ( C-89089r2_chk )
At the command prompt, execute the following command:

# grep '^\s*client_encoding\b' /storage/db/pgdata/postgresql.conf

If "client_encoding" is not "UTF8", this is a finding.
Fix Text (F-96139r1_fix)
At the command prompt, execute the following commands:

# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER SYSTEM SET client_encoding TO 'UTF8';"
# /opt/vmware/vpostgres/current/bin/psql -U postgres -c "SELECT pg_reload_conf();"