DB2 and the operating system must enforce access restrictions associated with changes to the configuration of DB2 or database(s).

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-213724SRG-APP-000380-DB-000360DB2X-00-008100SV-213724r879753_rule2023-06-112
Description
Failure to provide logical access restrictions associated with changes to configuration may have significant effects on the overall security of the system. When dealing with access restrictions pertaining to change control, it should be noted that any changes to the hardware, software, and/or firmware components of the information system can potentially have significant effects on the overall security of the system. Accordingly, only qualified and authorized individuals should be allowed to obtain access to system components for the purposes of initiating changes, including upgrades and modifications.
ℹ️ Check
The base installation directory of the database server software and instance home directory location is configurable at the time of installation. Run the db2level command to find the installation directory of DB2 server software: $db2level If any user other than the sysadmin and root users has write permission on these directories and subsequent subdirectories under this directory, this is a finding. On Linux and UNIX operating systems, the instance directory is located in the $INSTHOME/sqllib directory, where $INSTHOME is the home directory of the instance owner. On Windows operating systems, the instance directory is located under the /sqllib directory where the DB2 database product was installed. If any user other than the instance owner and the root user has write permission to instance home directory and subsequent subdirectories under it, this is a finding.
✔️ Fix
Remove the write permission from non-root/non-sysadmin users on the DB2 installation base directory and instance home directory.