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

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

                               ESB-2020.1162
       Db2 Query Management Facility is vulnerable to IBM SDK, Java
            Technology Edition Quarterly CPU & Oracle Jan 2020
                               2 April 2020

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

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

Product:           DB2 Query Management Facility
Publisher:         IBM
Operating System:  Linux variants
                   Mac OS
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Existing Account      
                   Modify Arbitrary Files          -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
                   Read-only Data Access           -- Remote/Unauthenticated
                   Unauthorised Access             -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2020-2659 CVE-2020-2604 CVE-2020-2593
                   CVE-2020-2583 CVE-2019-4732 

Reference:         ASB-2020.0028
                   ESB-2020.1023
                   ESB-2020.1019
                   ESB-2020.1009
                   ESB-2020.0891

Original Bulletin: 
   https://www.ibm.com/support/pages/node/6117052

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

Security Bulletin: Db2 Query Management Facility is vulnerable to IBM SDK, Java
Technology Edition Quarterly CPU & Oracle Jan 2020 (CVE-2019-4732)

Security Bulletin

Document number: 6117052

Summary

IBM SDK, Java Technology Edition Quarterly CPU - Jan 2020 - Includes Oracle Jan
2020 CPU minus CVE-2020-2601, CVE-2020-2654, and CVE-2020-2590

Vulnerability Details

All applicable Java SE CVEs published by Oracle as part of their January 2020
Critical Patch Update, except for CVE-2020-2601, CVE-2020-2654, and
CVE-2020-2590, plus one additional vulnerability. See attached document for
full details.

CVE-2020-2601, CVE-2020-2654, and CVE-2020-2590 will be handled in separate
Advisories.

Please keep an eye on the January CPU PSIRT forum thread for updates:
https://w3-connections.ibm.com/forums/html/threadTopic?id=
93e9b0d5-8e08-4cc3-a39e-93cb6d2a20c6


Vulnerabilities
CVE-2020-2604, CVE-2020-2593, CVE-2020-2659, CVE-2020-2583, CVE-2019-4732

CVEID: CVE-2020-2604
Description: Vulnerability in the Java SE, Java SE Embedded product of Oracle
Java SE (component: Serialization). Supported versions that are affected are
Java SE: 7u241, 8u231, 11.0.5 and 13.0.1; Java SE Embedded: 8u231. Difficult to
exploit vulnerability allows unauthenticated attacker with network access via
multiple protocols to compromise Java SE, Java SE Embedded. Successful attacks
of this vulnerability can result in takeover of Java SE, Java SE Embedded.
Note: This vulnerability applies to Java deployments, typically in clients
running sandboxed Java Web Start applications or sandboxed Java applets (in
Java SE 8), that load and run untrusted code (e.g., code that comes from the
internet) and rely on the Java sandbox for security. This vulnerability can
also be exploited by using APIs in the specified Component, e.g., through a web
service which supplies data to the APIs. CVSS v3.0 Base Score 8.1
(Confidentiality, Integrity and Availability impacts). CVSS Vector: (CVSS:3.0/
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).
CVSS Base Score: 8.1
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
174551 for more information
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H)
Affected Platforms:

CVEID: CVE-2020-2593
Description: Vulnerability in the Java SE, Java SE Embedded product of Oracle
Java SE (component: Networking). Supported versions that are affected are Java
SE: 7u241, 8u231, 11.0.5 and 13.0.1; Java SE Embedded: 8u231. Difficult to
exploit vulnerability allows unauthenticated attacker with network access via
multiple protocols to compromise Java SE, Java SE Embedded. Successful attacks
of this vulnerability can result in unauthorized update, insert or delete
access to some of Java SE, Java SE Embedded accessible data as well as
unauthorized read access to a subset of Java SE, Java SE Embedded accessible
data. Note: This vulnerability applies to Java deployments, typically in
clients running sandboxed Java Web Start applications or sandboxed Java applets
(in Java SE 8), that load and run untrusted code (e.g., code that comes from
the internet) and rely on the Java sandbox for security. This vulnerability can
also be exploited by using APIs in the specified Component, e.g., through a web
service which supplies data to the APIs. CVSS 3.0 Base Score 4.8
(Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/
UI:N/S:U/C:L/I:L/A:N).
CVSS Base Score: 4.8
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
174541 for more information
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N)
Affected Platforms:

CVEID: CVE-2020-2659
Description: Vulnerability in the Java SE, Java SE Embedded product of Oracle
Java SE (component: Networking). Supported versions that are affected are Java
SE: 7u241 and 8u231; Java SE Embedded: 8u231. Difficult to exploit
vulnerability allows unauthenticated attacker with network access via multiple
protocols to compromise Java SE, Java SE Embedded. Successful attacks of this
vulnerability can result in unauthorized ability to cause a partial denial of
service (partial DOS) of Java SE, Java SE Embedded. Note: This vulnerability
applies to Java deployments, typically in clients running sandboxed Java Web
Start applications or sandboxed Java applets (in Java SE 8), that load and run
untrusted code (e.g., code that comes from the internet) and rely on the Java
sandbox for security. This vulnerability can also be exploited by using APIs in
the specified Component, e.g., through a web service which supplies data to the
APIs. CVSS 3.0 Base Score 3.7 (Availability impacts). CVSS Vector: (CVSS:3.0/
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
CVSS Base Score: 3.7
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
174606 for more information
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L)
Affected Platforms:

CVEID: CVE-2020-2583
Description: Vulnerability in the Java SE, Java SE Embedded product of Oracle
Java SE (component: Serialization). Supported versions that are affected are
Java SE: 7u241, 8u231, 11.0.5 and 13.0.1; Java SE Embedded: 8u231. Difficult to
exploit vulnerability allows unauthenticated attacker with network access via
multiple protocols to compromise Java SE, Java SE Embedded. Successful attacks
of this vulnerability can result in unauthorized ability to cause a partial
denial of service (partial DOS) of Java SE, Java SE Embedded. Note: This
vulnerability applies to Java deployments, typically in clients running
sandboxed Java Web Start applications or sandboxed Java applets (in Java SE 8),
that load and run untrusted code (e.g., code that comes from the internet) and
rely on the Java sandbox for security. This vulnerability can also be exploited
by using APIs in the specified Component, e.g., through a web service which
supplies data to the APIs. CVSS 3.0 Base Score 3.7 (Availability impacts). CVSS
Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
CVSS Base Score: 3.7
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
174531 for more information
CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L)
Affected Platforms:

CVEID: CVE-2019-4732
Description: IBM SDK, Java Technology Edition Version 7.0.0.0 through
7.0.10.55, 7.1.0.0 through 7.1.4.55, and 8.0.0.0 through 8.0.6.0 could allow a
local authenticated attacker to execute arbitrary code on the system, caused by
DLL search order hijacking vulnerability in Microsoft Windows client. By
placing a specially-crafted file in a compromised folder, an attacker could
exploit this vulnerability to execute arbitrary code on the system.  IBM
X-Force ID:  172618.
CVSS Base Score: 7.2
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
172618 for more information
CVSS Vector: (CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H)
Affected Platforms: IBM Java 7.0.0.0, IBM Java 7.0.10.55, IBM Java 7.1.0.0, IBM
Java 7.1.4.55, IBM Java 8.0.0.0, IBM Java 8.0.6.0

Affected Products and Versions

Db2 Query Management Facility for z/OS 12.2;
Db2 Query Management Facility for z/OS 12.1;
Db2 Query Management Facility for z/OS 11.2.1;
Db2 Query Management Facility for z/OS 11.2;
Db2 Query Management Facility for z/OS 11.1;
Query Management Facility Classic Edition 11.1;
Query Management Facility Enterprise Edition 11.1;

Remediation/Fixes

See "Workarounds and Mitigations".

Workarounds and Mitigations

Use the following instructions to download the latest JRE version from the IBM
Java download portal and replace it with the JRE you are currently invoking.

Steps to update Java - QMF for Workstation:

 1. Download JRE 8.0.6.5 version from IBM Java download portal.
 2. Close QMF for workstation , if any instance is running.
 3. Copy 8.0.6.5 JRE version to C:\Program Files\IBM\Db2 Query Management
    Facility\QMF for Workstation\jre.
 4. Start application

 

Steps to update Java - QMF Vision: 

1. Go to: https://adoptopenjdk.net/releases.html

2. Download Open JDK 8(LTS) and extract the files to a temporary location.

3. Stop the following Windows services:

    - IBM QMF Vision Indexing Service (this will also stop IBM QMF Vision Web
Service due to dependencies)

    - QMFServerLite

4. Delete

      C:\Program Files\IBM\DB2 Query Management Facility\QMF Vision\
elasticsearch\java\jre1.8.0_131.

      Note: The folder name would be ?jre? in case security bulletin reference
# 0880785 is already applied.

5. Copy content of downloaded jre from the temporary location (step # 2) to

      C:\Program Files\IBM\DB2 Query Management Facility\QMF Vision\
elasticsearch\java.

6. Rename folder jre1.8.0_131 to jre.

      Note: If the folder in the java folder is already renamed to ?jre? via
the security bulletin reference #

      0880785, then steps 7 through 12 are not required. You can directly go to
step 13 and start the relevant

      services,

      Security bulletin # 0880785 link - https://www-01.ibm.com/support/
docview.wss?uid=ibm10880785

 

7. Under C:\Program Files\IBM\DB2 Query Management Facility\QMF Vision\, edit
the following 6 files:

elasticsearch/bin/install.bat

elasticsearch/bin/start.bat

elasticsearch/bin/stop.bat

elasticsearch/bin/uninstall.bat

qmfserver/bat/setenv.bat

qmfserver/conf/wrapper.conf

              For each file, replace "jre1.8.0_131" with "jre", and save.

8. Open a Windows Command window in Administrator mode and Change directory to
elasticsearch/bin.

9. Execute:

uninstall.bat

install.bat

10. Change directory to qmfserver/bat.

11 Execute:

uninstallService.bat

installService.bat.

12. In the Windows Services console, edit "IBM QMF Vision Indexing Service" to
change startup type from

      "Manual" to "Automatic".

13. Restart Windows Services:

    - IBM QMF Vision Indexing Service

    - IBM QMF Vision Web Service

    - QMFServerLite

Get Notified about Future Security Bulletins

Subscribe to My Notifications to be notified of important product support
alerts like this.

References

Complete CVSS v3 Guide
On-line Calculator v3

Off

Related Information

IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog

Change History

04 Mar 2020: Initial Publication

- --------------------------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

iQIVAwUBXoU0RWaOgq3Tt24GAQh+Ug//TUj8hRMU8IviQGbJGShE4oasJ5ZWJUuu
DQRoMSnBNxkNZa9icajr7D6r2nN2T6Rk4mTGWZ/eH8Kk4ER9NJpIYwkD65QzECUV
F50U8gT1HYdeoBupx+HMx9TbsvRdNrzptgdRadbg2LkIEo9ZZi4eOLYDEceVU4Ra
eCjrMY/3ALrUAUS9abrujBDq9g8/5gLINnaxD8t0a61gkQCllMEIkcVpEUF7qqYy
ZM3OlXZrNvhi6ZrfsrCnyv2mmn+h5Nzw9v+I96f7jxs/1yjt8CAloQ/yuNM9uybx
PimmF+ocv4VgOHIJaxdvg5tGxeFu0rWfy6EMKZFmUTgY+NSF2AN/JpIVFlwF/E0g
ck/Vxz/72Fuxozj4HvQyxnCXWlksOe3UDyvu8JZLs0CSj4fNrmPJBcnGKu2kejS+
LlmYDzPwxCHSD89pZwdJQzwGcviTD8o121wJLjEm0wIBv6s6JEuC8oOTV3C/eBMN
034aN55Bmcpd7708nCslDI8THkHktWE1huOntul2EhCyQkr9TFPEhOBdn0aZXgk+
25pIb/t2AwiQfQCZcqU8vWKq9M2Q7IR6AR9UZE4OlWDIACVaWm9M+ahcSYhuX0/M
zjs3X5qO7/eiwxu6pc7PWE7jSkd4ccipvUl7lZ29R6QVyujegv1o5CCYlNLqtxvE
2+Mg35SuIJU=
=cBfi
-----END PGP SIGNATURE-----