IBM Support

Security Bulletin: Under specific circumstances IBM® Db2® installation creates users with a weak password hashing algorithm (CVE-2017-1571).

Security Bulletin


Summary

When installed in Silent mode Db2 creates users with a weak password hashing algorithm, which results in only the first 8 characters of the supplied password being used, and remaining characters being ignored. This does not happen if existing users are used during installation; it only happens when Db2 creates the user during installation. The users created during installation are: instance owner, fenced user, and Db2 administration server (DAS) user.

This does not happen when Db2 installation is done in UI mode.

Vulnerability Details

CVEID: CVE-2017-1571
DESCRIPTION: IBM DB2 for Linux, UNIX and Windows (includes DB2 Connect Server) uses weaker than expected cryptographic algorithms that could allow an attacker to decrypt highly sensitive information.
CVSS Base Score: 5.1
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/131853 for the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N)

Affected Products and Versions

All fix pack levels of IBM Db2 V9.7, V10.1, V10.5, and V11.1 editions on all platforms except Windows are affected.

Remediation/Fixes

The recommended solution is to apply the appropriate fix for this vulnerability and change passwords for the affected users.

FIX:
The fix for DB2 V11.1 is in V11.1.3 FP3, available for download from Fix Central.

Customers running any vulnerable fixpack level of an affected Program, V9.7, V10.1, and V10.5, can download the special build containing the interim fix for this issue from Fix Central. These special builds are available based on the most recent fixpack level for each impacted release: DB2 V9.7 FP11, V10.1 FP6, and V10.5 FP9. They can be applied to any affected fixpack level of the appropriate release to remediate this vulnerability.

Workarounds and Mitigations

If installing Db2 in Silent mode, pre-create the users before the installation. This behaviour only occurs when Db2 creates the users during installation. Alternatively, perform the Db2 installation in UI mode.

If Db2 is already installed, you should change your password for the affected users (instance owner, fenced user, and Db2 administration server (DAS) user), which will use a stronger password hashing algorithm. Apply the special build if you will be performing Silent mode installation of Db2 without existing users.

Get Notified about Future Security Bulletins

References

Off

Change History

March 14, 2018: Original Version Published.
March 23, 2018: Published remaining platforms for V9.7.
July 11, 2018: Updated 10.5 version with a link to 10.5 FP10 image.

*The CVSS Environment Score is customer environment specific and will ultimately impact the Overall CVSS Score. Customers can evaluate the impact of this vulnerability in their environments by accessing the links in the Reference section of this Security Bulletin.

Disclaimer

Review the IBM security bulletin disclaimer and definitions regarding your responsibilities for assessing potential impact of security vulnerabilities to your environment.

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"9.7;10.1;10.5;11.1","Edition":"Advanced Enterprise Server;Advanced Workgroup Server;Enterprise Server;Express;Express-C;Personal;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
11 July 2018

UID

swg22012948