9.11 Ensure permissions on communication exit library locations

Information

If the permissions on the DB2 communication exit library directories are not set properly, the contents of those directories could be misused, tampered with, or otherwise accessed to negatively impact the security of the server.

Solution

The database manager looks for communication exit libraries in the following directories:

Linux 32-bit: $DB2PATH/security32/plugin/commexit
Linux 64-bit: $DB2PATH/security64/plugin/commexit
Windows 32-bit and 64-bit: $DB2PATH\security\plugin\commexit\instance_name

After locating the directory, update its permissions. The following is an example for a Linux 64-bit system:

[db2inst1@tgt-db2-101-abcd plugin]$ pwd
/opt/ibm/db2/V10.5/security64/plugin
[db2inst1@tgt-db2-101-abcd IBM]$ chmod -R 750 commexit

See Also

https://workbench.cisecurity.org/files/162