-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.1963
        Security Bulletin: IBM Data Server Driver for JDBC and SQLJ
             is affected by a 3rd party Unsafe deserialization
                                6 July 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           IBM Data Server Driver for JDBC and SQLJ
Publisher:         IBM
Operating System:  AIX
                   HP-UX
                   Linux variants
                   Solaris
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1677  

Reference:         ESB-2018.0790.2

Original Bulletin: 
   http://www.ibm.com/support/docview.wss?uid=swg22012479

- --------------------------BEGIN INCLUDED TEXT--------------------

Security Bulletin: Security Bulletin: IBM Data Server Driver for JDBC and SQLJ
is affected by a 3RD PARTY Unsafe deserialization

Security Bulletin

Document information
Software version: 9.5, 9.7, 10.1, 10.5, 11.1
Operating system(s): AIX, HP-UX, Linux, Solaris, Windows
Software edition: Advanced Enterprise Server, Advanced Workgroup Server,
Enterprise Server, Express, Express-C, Personal, Workgroup Server

Reference #: 2012479

Modified date: 05 July 2018

Summary

Unsafe deserialization in DB2 JDBC driver

Vulnerability Details

The Db2 JDBC driver deserializes the contents of /tmp/connlicj.bin (default
path, this is configurable), which leads to object injection and potentially
arbitrary code execution depending on the classpath.

CVEID: CVE-2017-1677
DESCRIPTION: IBM Data Server Driver for JDBC and SQLJ deserializes the contents
of /tmp/connlicj.bin which leads to object injection and potentially arbitrary
code execution depending on the classpath.
CVSS Base Score: 7.4
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/
133999 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:H/A:H)

Affected Products and Versions

DB2Connect 9.5

DB2Connect 9.7

DB2Connect 10.1

DB2Connect 10.5

DB2Connect 11.1

Remediation/Fixes

+---------------------------------------------------------------------------+
|  Product   |     VRMF      | APAR  |       Remediation / First Fix        |
|------------+---------------+-------+--------------------------------------|
|DB2Connect  |V11.1 M2FP2 SB |IT23592|JCC version 3.72.41/4.23.48           |
|            |               |       |See workaround or contact support     |
|------------+---------------+-------+--------------------------------------|
|DB2Connect  |V10.5 FP9 SB   |IT23591|JCC version 3.69.75/4.19.76           |
|            |               |       |See workaround or contact support     |
|------------+---------------+-------+--------------------------------------|
|DB2Connect  |V10.1 FP6 SB   |IT23590|JCC version 3.65.138/4.15.147         |
|            |               |       |See workaround or contact support     |
|------------+---------------+-------+--------------------------------------|
|DB2Connect  |V9.7 FP11 SB   |IT23575|JCC version 3.64.142/4.14.147         |
|            |               |       |See workaround or contact support     |
|------------+---------------+-------+--------------------------------------|
|DB2Connect  |V9.5 FP10 SB   |IT23575|JCC version 3.64.142/4.14.147         |
|            |               |       |See workaround or contact support     |
+---------------------------------------------------------------------------+

Workarounds and Mitigations

Workaround is to Set db2.jcc.outputDirectory property to a secure location so
that driver will write the cache file to the configured location which can not
accessed without proper authentication.
Or use the above Special build drivers.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWz7x92aOgq3Tt24GAQii4w//eKg0SGOM726xLDmLKt4AmUhUsLEIiJAd
suKrokNX7UhvmdJcuSzaoHHgT8T0hiQJMujRsrGl3JKqYjFkO0FrK/LKxDWLCobi
UOe+XKpBmlqIX+x2xxX4LyAzrPV23xD85L1jlVR1ahOLdyqFcuxq1RIdudQfrxDQ
6r9jnlGSQONk36I6+NUEwO+S9jK2xH9vyXaKMuU1ABK/xGhA1Ry1DF921ycovF1A
6O8XhV/JPmix8zVN3gWw86J1cqIz9XIGiRahnxmfRZtGZz+kJhde+RoPLLSYDsV4
meqmiGEB3U4StCjnQ/Pq/2oxS+VX82AfUGggA0yw0oOfWTEVSSJvJ7hG+dplGC7y
WG2d/98CtJp/qU85g7y5tLUY7ccKqe48mjbLPW1VPVVepqvkvBMVGMp6xrJ5dBme
mGIgkq+KGwPFYe8sHgQEBVyDfd/S30bxqlxQqaIKV+tVrbl7RjdUC4sD7x3nbDsH
7FUiBs4J5Qsgi0Vw+kpEhImp1dXD9ocu+thwAwHog/haZAwAAQt01djr+RYsgNbP
c7zZ8dZF2v5T+GHYbWZFN9AKe97JwRZAksTEF14+vFVXPdv5d/NKZ+HmHMpcG1HE
LJyRvNbFAr76XrG3TGmQiwzPUhls+nE5pCdZlduVwdtXyAGdrFw8wHslWkzYkcbd
E6yrxmFZifo=
=brPQ
-----END PGP SIGNATURE-----