UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

PostgreSQL 9.x Security Technical Implementation Guide


Overview

Date Finding Count (109)
2022-06-13 CAT I (High): 13 CAT II (Med): 96 CAT III (Low): 0
STIG Description
This Security Technical Implementation Guide is published as a tool to improve the security of Department of Defense (DoD) information systems. The requirements are derived from the National Institute of Standards and Technology (NIST) 800-53 and related documents. Comments or proposed revisions to this document should be sent via email to the following address: disa.stig_spt@mail.mil.

Available Profiles



Findings (MAC III - Administrative Public)

Finding ID Severity Title
V-214153 High PostgreSQL must use NIST FIPS 140-2 or 140-3 validated cryptographic modules for cryptographic operations.
V-214157 High The DBMS must be configured on a platform that has a NIST certified FIPS 140-2 or 140-3 installation of OpenSSL.
V-214119 High PostgreSQL must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to protect unclassified information requiring confidentiality and cryptographic protection, in accordance with the data owners requirements.
V-214148 High PostgreSQL must prevent non-privileged users from executing privileged functions, to include disabling, circumventing, or altering implemented security safeguards/countermeasures.
V-214130 High If passwords are used for authentication, PostgreSQL must store only hashed, salted representations of passwords.
V-214136 High PostgreSQL must enforce authorized access to all PKI private keys stored/utilized by PostgreSQL.
V-214120 High PostgreSQL must protect the confidentiality and integrity of all information at rest.
V-214057 High PostgreSQL must enforce approved authorizations for logical access to information and system resources in accordance with applicable access control policies.
V-214056 High If passwords are used for authentication, PostgreSQL must transmit only encrypted representations of passwords.
V-214052 High PostgreSQL must integrate with an organization-level authentication/access mechanism providing account management and automation for all users, groups, roles, and any other principals.
V-214050 High Security-relevant software updates to PostgreSQL must be installed within the time period directed by an authoritative source (e.g., IAVM, CTOs, DTMs, and STIGs).
V-214117 High PostgreSQL must implement NIST FIPS 140-2 or 140-3 validated cryptographic modules to generate and validate cryptographic hashes.
V-214075 High The PostgreSQL software installation account must be restricted to authorized users.
V-214080 Medium PostgreSQL must utilize centralized management of the content captured in audit records generated by all components of PostgreSQL.
V-214081 Medium PostgreSQL must isolate security functions from non-security functions.
V-214082 Medium PostgreSQL must produce audit records of its enforcement of access restrictions associated with changes to the configuration of PostgreSQL or database(s).
V-214083 Medium The audit information produced by PostgreSQL must be protected from unauthorized read access.
V-214084 Medium When updates are applied to PostgreSQL software, any software components that have been replaced or made unnecessary must be removed.
V-214085 Medium PostgreSQL must generate audit records when categorized information (e.g., classification levels/security levels) is accessed.
V-214086 Medium PostgreSQL must generate audit records when unsuccessful attempts to access security objects occur.
V-214087 Medium PostgreSQL must generate audit records when unsuccessful logons or connection attempts occur.
V-214088 Medium PostgreSQL must generate audit records showing starting and ending time for user access to the database(s).
V-214089 Medium PostgreSQL must generate audit records when unsuccessful attempts to modify security objects occur.
V-214150 Medium Database contents must be protected from unauthorized and unintended information transfer by enforcement of a data-transfer policy.
V-214151 Medium Access to database files must be limited to relevant processes and to authorized, administrative users.
V-214059 Medium PostgreSQL must limit the number of concurrent sessions to an organization-defined number per user for all accounts and/or account types.
V-214093 Medium PostgreSQL must generate audit records when security objects are deleted.
V-214092 Medium PostgreSQL must generate audit records when successful logons or connections occur.
V-214091 Medium PostgreSQL must generate audit records when unsuccessful attempts to delete categorized information (e.g., classification levels/security levels) occur.
V-214090 Medium PostgreSQL must generate audit records when privileges/permissions are added.
V-214097 Medium PostgreSQL must generate audit records when unsuccessful attempts to modify categorized information (e.g., classification levels/security levels) occur.
V-214096 Medium PostgreSQL must be able to generate audit records when privileges/permissions are retrieved.
V-214095 Medium PostgreSQL must generate audit records when unsuccessful attempts to delete privileges/permissions occur.
V-214094 Medium PostgreSQL must generate audit records when unsuccessful attempts to retrieve privileges/permissions occur.
V-214152 Medium PostgreSQL must protect its audit configuration from unauthorized modification.
V-214099 Medium PostgreSQL must generate audit records for all privileged activities or other system-level access.
V-214098 Medium PostgreSQL must generate audit records when unsuccessful accesses to objects occur.
V-214156 Medium PostgreSQL must generate audit records for all direct access to the database(s).
V-214154 Medium Audit records must be generated when categorized information (e.g., classification levels/security levels) is deleted.
V-214155 Medium PostgreSQL must generate audit records when successful accesses to objects occur.
V-214058 Medium PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in transmission.
V-214149 Medium PostgreSQL must map the PKI-authenticated identity to an associated user account.
V-214145 Medium PostgreSQL must maintain the authenticity of communications sessions by guarding against man-in-the-middle attacks that guess at Session ID values.
V-214144 Medium PostgreSQL must off-load audit data to a separate log management facility; this must be continuous and in near real time for systems with a network connection to the storage facility and weekly or more often for stand-alone systems.
V-214147 Medium PostgreSQL must automatically terminate a user session after organization-defined conditions or trigger events requiring session disconnect.
V-214146 Medium PostgreSQL must uniquely identify and authenticate organizational users (or processes acting on behalf of organizational users).
V-214141 Medium PostgreSQL must protect its audit features from unauthorized access.
V-214140 Medium PostgreSQL must invalidate session identifiers upon user logout or other session termination.
V-214143 Medium PostgreSQL must protect its audit features from unauthorized removal.
V-214142 Medium PostgreSQL must produce audit records containing time stamps to establish when the events occurred.
V-214138 Medium PostgreSQL must produce audit records containing sufficient information to establish what type of events occurred.
V-214139 Medium PostgreSQL must implement cryptographic mechanisms preventing the unauthorized disclosure of organization-defined information at rest on organization-defined information system components.
V-220321 Medium PostgreSQL must use NSA-approved cryptography to protect classified information in accordance with the data owners requirements.
V-214131 Medium PostgreSQL must enforce access restrictions associated with changes to the configuration of PostgreSQL or database(s).
V-214132 Medium PostgreSQL must protect against a user falsely repudiating having performed organization-defined actions.
V-214133 Medium The system must provide a warning to appropriate support staff when allocated audit record storage volume reaches 75% of maximum audit record storage capacity.
V-214135 Medium PostgreSQL must require users to reauthenticate when organization-defined circumstances or situations require reauthentication.
V-214137 Medium PostgreSQL must only accept end entity certificates issued by DoD PKI or DoD-approved PKI Certification Authorities (CAs) for the establishment of all encrypted sessions.
V-214048 Medium PostgreSQL must be configured to prohibit or restrict the use of organization-defined functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.
V-214049 Medium PostgreSQL must produce audit records containing sufficient information to establish the outcome (success or failure) of the events.
V-214129 Medium PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in process.
V-214128 Medium Unused database components which are integrated in PostgreSQL and cannot be uninstalled must be disabled.
V-214123 Medium PostgreSQL must initiate session auditing upon startup.
V-214122 Medium PostgreSQL must separate user functionality (including user interface services) from database management functionality.
V-214121 Medium PostgreSQL must prohibit user installation of logic modules (functions, trigger procedures, views, etc.) without explicit privileged status.
V-214127 Medium Access to external executables must be disabled or restricted.
V-214126 Medium Unused database components, PostgreSQL software, and database objects must be removed.
V-214125 Medium PostgreSQL must produce audit records containing sufficient information to establish the sources (origins) of the events.
V-214124 Medium PostgreSQL must implement cryptographic mechanisms to prevent unauthorized modification of organization-defined information at rest (to include, at a minimum, PII and classified information) on organization-defined information system components.
V-214055 Medium PostgreSQL must limit privileges to change functions and triggers, and links to software external to PostgreSQL.
V-214054 Medium Privileges to change PostgreSQL software modules must be limited.
V-214053 Medium PostgreSQL must provide non-privileged users with error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.
V-214051 Medium The audit information produced by PostgreSQL must be protected from unauthorized modification.
V-214116 Medium PostgreSQL must produce audit records containing sufficient information to establish the identity of any user/subject or process associated with the event.
V-214114 Medium PostgreSQL must provide audit record generation capability for DoD-defined auditable events within all DBMS/database components.
V-214115 Medium PostgreSQL must generate time stamps, for audit records and application data, with a minimum granularity of one second.
V-214112 Medium PostgreSQL must produce audit records containing sufficient information to establish where the events occurred.
V-214113 Medium PostgreSQL must maintain the confidentiality and integrity of information during preparation for transmission.
V-214110 Medium PostgreSQL must generate audit records when unsuccessful attempts to add privileges/permissions occur.
V-214111 Medium PostgreSQL, when utilizing PKI-based authentication, must validate certificates by performing RFC 5280-compliant certification path validation.
V-214068 Medium The audit information produced by PostgreSQL must be protected from unauthorized deletion.
V-214069 Medium PostgreSQL must record time stamps, in audit records and application data, that can be mapped to Coordinated Universal Time (UTC, formerly GMT).
V-214062 Medium PostgreSQL must associate organization-defined types of security labels having organization-defined security label values with information in storage.
V-214063 Medium PostgreSQL must check the validity of all data inputs except those specifically identified by the organization.
V-214060 Medium The role(s)/group(s) used to modify database structure (including but not necessarily limited to tables, indexes, storage, etc.) and logic modules (functions, trigger procedures, links to software external to PostgreSQL, etc.) must be restricted to authorized users.
V-214061 Medium PostgreSQL must uniquely identify and authenticate non-organizational users (or processes acting on behalf of non-organizational users).
V-214066 Medium PostgreSQL must allocate audit record storage capacity in accordance with organization-defined audit record storage requirements.
V-214067 Medium PostgreSQL must enforce discretionary access control policies, as defined by the data owner, over defined subjects and objects.
V-214064 Medium PostgreSQL and associated applications must reserve the use of dynamic code execution for situations that require it.
V-214065 Medium PostgreSQL and associated applications, when making use of dynamic code execution, must scan input data for invalid values that may indicate a code injection attack.
V-214101 Medium PostgreSQL must be able to generate audit records when security objects are accessed.
V-214100 Medium PostgreSQL must generate audit records when unsuccessful attempts to access categorized information (e.g., classification levels/security levels) occur.
V-214103 Medium PostgreSQL must generate audit records when concurrent logons/connections by the same user from different workstations occur.
V-214102 Medium PostgreSQL must generate audit records when privileges/permissions are deleted.
V-214105 Medium PostgreSQL must generate audit records when privileges/permissions are modified.
V-214104 Medium PostgreSQL must generate audit records when unsuccessful attempts to delete security objects occur.
V-214107 Medium PostgreSQL must generate audit records when security objects are modified.
V-214106 Medium PostgreSQL must generate audit records when unsuccessful attempts to execute privileged activities or other system-level access occur.
V-214109 Medium PostgreSQL must generate audit records when unsuccessful attempts to modify privileges/permissions occur.
V-214108 Medium PostgreSQL must generate audit records when categorized information (e.g., classification levels/security levels) is modified.
V-214079 Medium When invalid inputs are received, PostgreSQL must behave in a predictable and documented manner that reflects organizational and system objectives.
V-214078 Medium Execution of software modules (to include functions and trigger procedures) with elevated privileges must be restricted to necessary cases only.
V-214074 Medium Database objects (including but not limited to tables, indexes, storage, trigger procedures, functions, links to software external to PostgreSQL, etc.) must be owned by database/DBMS principals authorized for ownership.
V-214077 Medium PostgreSQL must include additional, more detailed, organization-defined information in the audit records for audit events identified by type, location, or subject.
V-214076 Medium Database software, including PostgreSQL configuration files, must be stored in dedicated directories separate from the host OS and other applications.
V-214071 Medium PostgreSQL must allow only the ISSM (or individuals or roles appointed by the ISSM) to select which auditable events are to be audited.
V-214070 Medium PostgreSQL must reveal detailed error messages only to the ISSO, ISSM, SA and DBA.
V-214073 Medium PostgreSQL must maintain the confidentiality and integrity of information during reception.
V-214072 Medium PostgreSQL must provide an immediate real-time alert to appropriate support staff of all audit log failures.