Security Bulletin
Summary
When a version check to upgrade Db2 to v11.x fails, the connection string is written in the clear in an error message to db2diag.log.
Vulnerability Details
CVEID: CVE-2017-1434
DESCRIPTION: IBM DB2 for Linux, UNIX and Windows (includes DB2 Connect Server) under unusual circumstances, could expose highly sensitive information in the error log to a local user.
CVSS Base Score: 5.1
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/127806 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 for server editions of IBM Db2 V11.1 on all platforms are affected.
Remediation/Fixes
The recommended solution is to apply the appropriate fix for this vulnerability.
FIX:
Customers running any vulnerable fixpack level of an affected Program, V11.1, 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: V11.1.2.2 FP2. They can be applied to any affected fixpack level of the appropriate release to remediate this vulnerability.
Release | Fixed in fix pack | APAR | Download URL |
V11.1.2.2 | iFix001 | IT21347 | http://www-01.ibm.com/support/docview.wss?uid=swg24044133 |
Workarounds and Mitigations
When running the version check tool db2ckupgrade to upgrade Db2 to V11.x and providing the tool with the password to connect to Db2, if the upgrade fails, search the db2diag.log for the record with the connection string written in the clear and delete the record.
Sample record:
2017-04-19-14.31.51.488000-240 I31814496F2169 LEVEL: Error
PID : 1496 TID : 2236 PROC : db2ckupgrade.exe
INSTANCE: SERVER1 NODE : 000
HOSTNAME: NAME
EDUID : 2236
FUNCTION: <0>, <0>, <0>, probe:6541
MESSAGE : Could not get a exclusive connection
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
0x00000026293ADF30 : 0000 0000 0000 0000 0000 0000 7E8A FFFF ............~...
0x00000026293ADF40 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADF50 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADF60 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADF70 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADF80 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADF90 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADFA0 : 0000 0000 0000 0000 0000 0000 0000 0000 ................
0x00000026293ADFB0 : 0000 0000 0000 0000 ........
DATA #2 : String, 52 bytes
DSN=DB;UID=user;PWD=xxxxxxx;;MODE=EXCLUSIVE;
Get Notified about Future Security Bulletins
References
Change History
September 7, 2017: Original version published.
July 11, 2018: Updated V11.1 link.
*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.
Was this topic helpful?
Document Information
Modified date:
17 August 2018
UID
swg22005740