Information
The following database manager configuration parameters allow the use of custom plugins for authentication and group lookup purposes.
CLNT_PW_PLUGIN
CLNT_KRB_PLUGIN
GROUP_PLUGIN
LOCAL_GSSPLUGIN
SRVCON_GSSPLUGIN_LIST
SRVCON_PW_PLUGIN
The permissions on the plugins specified by any of the above parameters should be secured so that users other than the instance owner don't have write privileges.
Rationale:
If a malicious user has write access to a plugin, they can overwrite it with their own thereby manipulating the authentication and authorization behavior for connecting users.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
To change permissions of a file on Linux:
chmod 755 <file>
To change permissions of a file on Windows:
Right-click on the file
Choose properties
Select the Security tab
Grant the Full Control authority to all Db2 administrator accounts
Grant only read and execute privileges to all other accounts (revoke any other privileges)