5.7 Secure Permissions for All Authentication Plugins

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)

See Also

https://workbench.cisecurity.org/benchmarks/10752

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: IBM_DB2DB

Control ID: bd0667d395cb1234dbeae914568997b871d9eff051ddc5fb092253efe1486d1c