DB2X-00-004100 - If passwords are used for authentication, DB2 must transmit only encrypted representations of passwords

Information

The DoD standard for authentication is DoD-approved PKI certificates.

Authentication based on User ID and Password may be used only when it is not possible to employ a PKI certificate, and requires AO approval.

In such cases, passwords need to be protected at all times, and encryption is the standard method for protecting passwords during transmission.

DBMS passwords sent in clear text format across the network are vulnerable to discovery by unauthorized users. Disclosure of passwords may easily lead to unauthorized access to the database.

Solution

Run the following command to set the value of the authentication encryption to SERVER_ENCRYPT:

$db2 update dbm cfg using authentication server_encrypt

Run the following db2set command to set the value of DB2AUTH to JCC_ENFORCE_SECMEC:

$db2set DB2AUTH=JCC_ENFORCE_SECMEC

Note: It is recommended to set the ALTERNATE_AUTH_ENC database manager configuration parameter to AES_ONLY to require that AES encryption be used.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_IBM_DB2_V10-5_LUW_V2R1_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(c), CAT|II, CCI|CCI-000197, Rule-ID|SV-213699r917664_rule, STIG-ID|DB2X-00-004100, STIG-Legacy|SV-89161, STIG-Legacy|V-74487, Vuln-ID|V-213699

Plugin: Unix

Control ID: 241bc689a1d1bce5c0a93fe7a55117cf5319e21b22c1de5d512b8e6f6e8d567e