ESB-2018.2214 - [Linux] IBM Platform Symphony: Reduced security - Remote/unauthenticated 2018-07-31

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.2214
         Security Bulletin: Vulnerability in Apache Tomcat affects
                           IBM Platform Symphony
                               31 July 2018

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

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

Product:           IBM Platform Symphony
Publisher:         IBM
Operating System:  Linux variants
Impact/Access:     Reduced Security -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-8014  

Reference:         ESB-2018.1630
                   ESB-2018.1509
                   ESB-2018.1882.2

Original Bulletin: 
   https://www-01.ibm.com/support/docview.wss?uid=ibm10718917

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

Security Bulletin: Vulnerability in Apache Tomcat affects IBM Platform Symphony

Document information
More support for: Platform Symphony
Software version: 6.1.1, 7.1 Fix Pack 1

Operating system(s): Linux

Reference #: 0718917

Modified date: 30 July 2018

Security Bulletin


Summary

This interim fix provides instructions on upgrading Apache Tomcat from v5.5.36
to v7.0.90 in IBM Platform Symphony 6.1.1 and from v6.0.43 to v8.5.32 in IBM
Platform Symphony 7.1 Fix Pack 1 in order to address security vulnerability
CVE-2018-8014 in Tomcat.

Vulnerability Details

CVE-ID: CVE-2018-8014
Description: Apache Tomcat could provide weaker than expected security, caused
by insecure default settings for the CORS filter. A remote attacker could
exploit this vulnerability to launch further attacks on the system.
CVSS Base Score: 5.3
CVSS Temporal Score: https://exchange.xforce.ibmcloud.com/vulnerabilities/
143411 for more information
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N)

Affected Products and Versions

Platform Symphony 6.1.1
Platform Symphony 7.1 Fix Pack 1

Remediation/Fixes

Applicability
Operating systems: Linux2.6-glibc2.3-x86_64
Cluster type: Single grid cluster
Packages

+--------------------------------------------------------+-----------+------------------------------------------------------------------+
|                        Product                         |   APAR    |                      Remediation/First Fix                       |
+--------------------------------------------------------+-----------+------------------------------------------------------------------+
|IBM Platform Symphony 6.1.1                             |P102656    |sym6.1.1_lnx26-lib23-x64_build497567.tar.gz                       |
+--------------------------------------------------------+-----------+------------------------------------------------------------------+
|IBM Platform Symphony 7.1 Fix Pack 1                    |P102656    |sym7.1_lnx26-lib23-x64_build497568.tar.gz                         |
+--------------------------------------------------------+-----------+------------------------------------------------------------------+
|Apache Tomcat 7.0.90                                    |N/A        |apache-tomcat-7.0.90.tar.gz                                       |
+--------------------------------------------------------+-----------+------------------------------------------------------------------+
|Apache Tomcat 8.5.32                                    |N/A        |apache-tomcat-8.5.32.tar.gz                                       |
+--------------------------------------------------------+-----------+------------------------------------------------------------------+

For Platform Symphony 6.1.1

Optional prerequisite

For a Platform Symphony 6.1.1 cluster, you can optionally take advantage of a
security service pack. To apply this interim fix along with the security
service pack:

 1. Install the service pack (sym-6.1.1-spk-Security-build227853).

 2. Apply this interim fix (sym6.1.1_lnx26-lib23-x64_build497567.tar.gz ) to
    your cluster.

If you do not want to apply the 6.1.1 security service pack, proceed to
directly apply this interim fix to your cluster.

Installation

 1. Log on to the master host as the cluster administrator and stop the WEBGUI
    service:
    > egosh user logon -u Admin -x Admin
    > source $EGO_TOP/cshrc.platform
    > egosh service stop WEBGUI

 2. Log on to each management host in the cluster and back up the following
    files for recovery purposes:
    $EGO_TOP/gui/1.2.8/tomcat/
    $EGO_CONFDIR/../../gui/conf/catalina.policy
    $EGO_CONFDIR/../../gui/conf/catalina.properties
    $EGO_CONFDIR/../../gui/conf/server.xml
    $EGO_TOP/gui/ego/1.2.8/platform/WEB-INF/web.xml
    $EGO_TOP/gui/is/6.1.1/isgui/WEB-INF/web.xml
    $EGO_TOP/gui/perf/1.2.8/perfgui/WEB-INF/web.xml
    $EGO_TOP/gui/soam/6.1.1/symgui/WEB-INF/web.xml
    $EGO_TOP/gui/soam/6.1.1/soamgui/WEB-INF/web.xml

 3. On each management host, copy the apache-tomcat-7.0.90.tar.gz package to a
    temporary folder and decompress the file:
    > cp apache-tomcat-7.0.90.tar.gz /tmp
    > tar zxvf apache-tomcat-7.0.90.tar.gz
    > rm -rf apache-tomcat-7.0.90 /conf /
    > rm -rf apache-tomcat-7.0.90 /work/
    > rm -rf apache-tomcat-7.0.90 /logs/

 4. Copy the Tomcat folder:
    > rm -rf $EGO_TOP/gui/1.2.8/tomcat
    > cp -rf apache-tomcat-7.0.90 $EGO_TOP/gui/1.2.8/tomca t

 5. Copy the sym6.1.1_lnx26-lib23-x64_build497567.tar.gz package and decompress
    it:
    > tar zxfo sym6.1.1_lnx26-lib23-x64_build497567.tar.gz -C $EGO_TOP

 6. If you ran the "egoconfig mghost shared_dir " command during installation
    to set up a shared location for configuration files, ensure that the
    configuration file is changed in the shared directory:
    > cp $EGO_TOP/gui/conf/catalina.policy $EGO_CONFDIR/../../gui/conf/
    catalina.policy
    > cp $EGO_TOP/gui/conf/catalina.properties $EGO_CONFDIR/../../gui/conf/
    catalina.properties
    > cp $EGO_TOP/gui/conf/server.xml $EGO_CONFDIR/../../gui/conf/server.xml

 7. If you modified the $EGO_CONFDIR/../../gui/conf/server.xml configuration
    file for details such as the GUI service port, manually redo those changes.

 8. Edit the web.xml files to add the following configuration:

     1. Edit each of the following files:
        $EGO_TOP/gui/ego/1.2.8/platform/WEB-INF/web.xml
        $EGO_TOP/gui/is/6.1.1/isgui/WEB-INF/web.xml
        $EGO_TOP/gui/perf/1.2.8/perfgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/6.1.1/symgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/6.1.1/soamgui/WEB-INF/web.xml

     2. Find the "<servlet-name>dwr-invoker</servlet-name>" line in the "</
        servlet>" section and add the following configuration:
        <init-param>
        <param-name>crossDomainSessionSecurity </param-name>
        <param-value>false </param-value>
        </init-param>
        For example:
         <servlet>
             <servlet-name>dwr-invoker</servlet-name>
             <servlet-class>org.directwebremoting.servlet.DwrServlet</
        servlet-class>
                  <init-param>
                      <param-name>debug</param-name>
                      <param-value>true</param-value>
                  </init-param>
                  <init-param>
                       <param-name>crossDomainSessionSecurity</param-name>
                                           <param-value>false</param-value>
                         </init-param >
              </servlet>

 9. On each management host, delete all subdirectories and files in the gui/
    work directory:
    > rm -rf $EGO_TOP/gui/work/*

10. On all client hosts, open your web browser and clear the browser cache.

11. Start the WEBGUI service:
    > source $EGO_TOP/cshrc.platform
    > egosh service start WEBGUI

12. In the $EGO_TOP/gui/logs/catalina.out file, check whether the GUI version
    indicates version 7.0.90:
    INFO: Server version:        Apache Tomcat/7.0.90

Uninstallation

Follow the instructions in this section to uninstall this update in your
cluster, if required.

 1. Log on to the master host as the cluster administrator and stop the WEBGUI
    service:
    > egosh user logon -u Admin -X Admin
    > source $EGO_TOP/cshrc.platform
    > egosh service stop WEBGUI

 2. On each management host, restore the backup files:
     1. Remove the Tomcat folder, which was introduced by this interim fix:
        > rm -rf $EGO_TOP/gui/1.2.8/tomcat

     2. Restore the following folders and files from your backup:
        $EGO_TOP/gui/ 1.2.8/tomcat/
        $EGO_CONFDIR/../../gui /conf/catalina.policy
        $EGO_CONFDIR/../../gui/ conf/catalina.properties
        $EGO_CONFDIR/../../gui/ conf/server.xml
        $EGO_TOP/gui/ ego/1.2.8/platform/WEB-INF/web.xml
        $EGO_TOP/gui/ is/6.1.1/isgui/ WEB-INF/web.xml
        $EGO_TOP/gui/ perf/1.2.8/perfgui/ WEB-INF/web.xml
        $EGO_TOP/gui/soam / 6.1.1/symgui/ WEB-INF/web.xml
        $EGO_TOP/gui/soam/6 .1.1/soamgui/ WEB-INF/web.xml

 3. Delete all subdirectories and files in the following directory:
    > rm -rf $EGO_TOP/gui/work/*

 4. On all client hosts, open your web browser and clear the browser cache.

 5. Start the WEBGUI service:
    > source $EGO_TOP/cshrc.platform
    > egosh service start WEBGUI

For Platform Symphony 7.1 Fix Pack 1

Installation

 1. Log on to the master host as the cluster administrator and stop the WEBGUI
    service:
    > egosh user logon -u Admin -x Admin
    > source $EGO_TOP/cshrc.platform
    > egosh service stop WEBGUI

 2. Log on to each management host in the cluster and back up the following
    files for recovery purposes:
    $EGO_TOP/gui/3.1/tomcat/
    $EGO_CONFDIR/../../gui/conf/catalina.policy
    $EGO_CONFDIR/../../gui/conf/catalina.properties
    $EGO_CONFDIR/../../gui/conf/server.xml $EGO_TOP/gui/ego/3.1/platform/
    WEB-INF/web.xml
    $EGO_TOP/gui/is/7.1/isgui/WEB-INF/web.xml
    $EGO_TOP/gui/perf/3.1/perfgui/WEB-INF/web.xml
    $EGO_TOP/gui/soam/7.1/soamgui/WEB-INF/web.xml
    $EGO_TOP/gui/soam/7.1/symgui/WEB-INF/web.xml

 3. Copy the apache-tomcat-8.5.32.tar.gz package to a temporary folder and
    decompress the file:
    > cp apache-tomcat-8.5.32.tar.gz /tmp
    > tar zxvf apache-tomcat-8.5.32.tar.gz
    > rm -rf apache-tomcat-8.5.32/conf /
    > rm -rf apache-tomcat-8.5.32/work/
    > rm -rf apache-tomcat-8.5.32/logs/

 4. Copy the Tomcat folder:
    > rm -rf $EGO_TOP/gui/3.1/tomcat
    > cp -rf apache-tomcat-8.5.32 $EGO_TOP/gui/3.1/tomcat

 5. Copy the sym7.1_lnx26-lib23-x64_build497568.tar.gz package and decompress
    it:
    > tar zxfo sym7.1_lnx26-lib23-x64_build497568.tar.gz -C $EGO_TOP

 6. If you ran the "egoconfig mghost shared_dir " command during installation
    to set up a shared location for configuration files, ensure that the
    configuration file is changed in the shared directory:
    > cp $EGO_TOP/gui/conf/catalina.policy $EGO_CONFDIR/../../gui/conf/
    catalina.policy
    > cp $EGO_TOP/gui/conf/catalina.properties $EGO_CONFDIR/../../gui/conf/
    catalina.properties
    > cp $EGO_TOP/gui/conf/server.xml $EGO_CONFDIR/../../gui/conf/server.xml

 7. If you modified the $EGO_CONFDIR/../../gui/conf/server.xml configuration
    file for details such as the GUI service port, manually redo those changes.

 8. Edit the web.xml files to add the following configuration:

     1. Edit each of the following files:
        $EGO_TOP/gui/ego/3.1/platform/WEB-INF/web.xml
        $EGO_TOP/gui/is/7.1/isgui/WEB-INF/web.xml
        $EGO_TOP/gui/perf/3.1/perfgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/7.1/symgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/7.1/soamgui/WEB-INF/web.xml

     2. Find the "<servlet-name>dwr-invoker</servlet-name>" line in the "</
        servlet>" section and add the following configuration:
        <init-param>
                <param-name>crossDomainSessionSecurity </param-name>
               <param-value>false </param-value>
        </init-param>
        For example:
        <servlet>
            <servlet-name>dwr-invoker</servlet-name>
            <servlet-class >org.directwebremoting.servlet.DwrServlet</
        servlet-class>
                                <init-param>
                         <param-name>debug</param-name>
                     <param-value>true</param-value>
                   </init-param>
                  <init-param>
                     <param-name>crossDomainSessionSecurity</param-name>
                     <param-value>false</param-value>
                  </init-para m>
        </servlet>

 9. On each management host, delete all subdirectories and files in the
    following directory:
    > rm -rf $EGO_TOP/gui/work/*

10. On all client hosts, open your web browser and clear the browser cache.

11. Start the WEBGUI service:
    > source $EGO_TOP/cshrc.platform
    > egosh service start WEBGUI

12. In the $EGO_TOP/gui/logs/catalina.out file, check whether the GUI version
    indicates version 8.5.32:
    INFO: Server version:        Apache Tomcat/8.5.32

Uninstallation

Follow the instructions in this section to uninstall this update in your
cluster, if required.

 1. Log on to the master host as the cluster administrator and stop the WEBGUI
    service:
    > egosh user logon -u Admin -x Admin
    > source $EGO_TOP/cshrc.platform
    > egosh service stop WEBGUI

 2. On each management host, restore the backup files:

     1. Remove the Tomcat folder, which was introduced by this interim fix:
        > rm -rf $EGO_TOP/gui/3.1/tomcat

     2. Restore the following folders and files from your backup:
        $EGO_TOP/gui/3.1/tomcat
        $EGO_CONFDIR/../../gui/conf/catalina.policy
        $EGO_CONFDIR/../../gui/conf/catalina.properties
        $EGO_CONFDIR/../../gui/conf/server.xml
        $EGO_TOP/gui/ego/3.1/platform/WEB-INF/web.xml
        $EGO_TOP/gui/is/7.1/isgui/WEB-INF/web.xml
        $EGO_TOP/gui/perf/3.1/perfgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/7.1/soamgui/WEB-INF/web.xml
        $EGO_TOP/gui/soam/7.1/symgui/WEB-INF/web.xml

 3. Delete all subdirectories and files in the following directory:
    > rm -rf $EGO_TOP/gui/work/*

 4. On all client hosts, open your web browser and clear the browser cache.

 5. Start the WEBGUI service:
    > source $EGO_TOP/cshrc.platform
    > egosh service start WEBGUI

Workarounds and Mitigations

None

Get Notified about Future Security Bulletins

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

Reference

Complete CVSS v3 Guide
On-line Calculator v3

Related Information

IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog

Acknowlegement

None

Change History

26 July 2018: Original version published

*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

According to the Forum of Incident Response and Security Teams (FIRST), the
Common Vulnerability Scoring System (CVSS) is an "industry open standard
designed to convey vulnerability severity and help to determine urgency and
priority of response." IBM PROVIDES THE CVSS SCORES ""AS IS"" WITHOUT WARRANTY
OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF
ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

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

iQIVAwUBW1+ysWaOgq3Tt24GAQi88xAAj2ed2JgQ8o6OAGldXxT8qLLf1LdZ68sy
1S91JJqQcvV1l1OhC8wdrKuPy2ldM45bi61WrvWGjapEuJTZRlFvBZYjm3HNs8AE
glnziXLRjJ1XBES081SiBkmgKhZY9nESTvodgjoj90j24/uLbConF6BhffXFsP/O
mcPAhpYr8zshBAa4N1+apHv1astm1FLA0yl8p3s5b2Tlfx4f3jWLhc1Z3GK+by2g
lpkS61JW5Nlu7tsYY7Mgh2gbMgGcT1dnR8H0MShp5UxPWvTCm9RacofXrcpiRcm9
RxTLaUEp/aIE4cvzBQW2N+ft/Vsk9Adafh08wLZPrxHIB2HMJYR03+eIWDt/lHzN
jaWuEaZd5fG328VwKI3ugGE+xKlGvJZdgVc0JDuPm/zV09DrgtM+fJRGXgXpEyLd
HeSx1B3Qn6s4WhVJljMs1q/OhBZlNjVaczjzdMcLB/WTxL0mx8nlUAFLV+kwOqUk
OhClKMItpvrmy0IucLb9nIvKu47MePRkfr55z2jntScv7Q+Hxa8u+VDtCKkuG4pq
u0tCAGyJuN5du1GqB7wNQuxpMFryxbVNzpRkxTWLz2KL7nu5SRXQeLiRowXqLjMX
G/TeccXAZz/5d4A+lv4SG4GvaFPvedF6HB414VxBq5lbL1047+DMl6/9QIUqzhem
CVm3bkKjhps=
=vFIn
-----END PGP SIGNATURE-----

« Back to bulletins