Check: EPAS-00-003900
EnterpriseDB Postgres Advanced Server (EPAS) STIG:
EPAS-00-003900
(in version v1 r1)
Title
Unused database components which are integrated in the EDB Postgres Advanced Server and cannot be uninstalled must be disabled. (Cat II impact)
Discussion
Information systems are capable of providing a wide variety of functions and services. Some of the functions and services, provided by default, may not be necessary to support essential organizational operations (e.g., key missions, functions). It is detrimental for software products to provide, or install by default, functionality exceeding requirements or mission objectives. DBMSs must adhere to the principles of least functionality by providing only essential capabilities. Unused, unnecessary DBMS components increase the attack vector for the DBMS by introducing additional targets for attack. By minimizing the services and applications installed on the system, the number of potential vulnerabilities is reduced. Components of the system that are unused and cannot be uninstalled must be disabled. The techniques available for disabling components will vary by DBMS product, OS, and the nature of the component and may include DBMS configuration settings, OS service settings, OS file access security, and DBMS user/group permissions.
Check Content
Run the following command as the "root" user: > yum list installed | grep edb- If any packages are installed that are not required, this is a finding.
Fix Text
Review the EDB Postgres Advanced Server packages available in the installation guide here: https://www.enterprisedb.com/docs/epas/<version number>/ Uninstall all packages that are not required by running the following as the "root" user: > yum erase -y <package-name> At a minimum, the edb-as<version>-server-* packages are required. Additionally, other packages such as pem, jdbc, postgis, pgpool, and others may be required by applications that need the functionality provided in these additional packages.
Additional Identifiers
Rule ID: SV-259242r938779_rule
Vulnerability ID: V-259242
Group Title: SRG-APP-000141-DB-000092
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000381 |
The organization configures the information system to provide only essential capabilities. |
Controls
Number | Title |
---|---|
CM-7 |
Least Functionality |