ESB-2018.0375 - [Win][UNIX/Linux] IBM Platform Symphony: Execute arbitrary code/commands - Remote/unauthenticated 2018-02-07

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2018.0375
Security Bulletin: Vulnerability in Apache Commons FileUpload DiskFileItem
           File Manipulation affects IBM Platform Symphony, IBM
                   Spectrum Symphony (CVE-2016-1000031)
                              7 February 2018

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

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

Product:           IBM Platform Symphony
Publisher:         IBM
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-1000031  

Reference:         ESB-2016.2436

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

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

Security Bulletin: Vulnerability in Apache Commons FileUpload DiskFileItem File
Manipulation affects IBM Platform Symphony, IBM Spectrum Symphony
(CVE-2016-1000031)


Document information

More support for: Platform Symphony

Software version: 6.1.1, 7.1.0, 7.1.1

Operating system(s): Platform Independent

Reference #: T1026112

Modified date: 07 February 2018


Summary

A security vulnerability relating to remote code execution CVE-2016-1000031 has
been reported against Apache Commons FileUpload DiskFileItem File Manipulation,
which IBM Platform Symphony uses as a framework for its WEBGUI service. The
Commons FileUpload version that is vulnerable to these issues is included in
several past versions of IBM Platform Symphony. Commons FileUpload 1.3.3
addresses this vulnerability and can be applied through the manual steps
detailed in the Remediation section.


Vulnerability Details

CVEID: CVE-2016-1000031

DESCRIPTION: A vulnerability in IBM Spectrum Symphony and IBM Platform Symphony
could allow a remote attacker to execute arbitrary code on the system, caused by
deserialization of untrusted data in DiskFileItem class of FileUpload library. A
attacker could exploit this vulnerability to execute arbitrary code under the
context of the current process.

CVSS V3 Base Score: 7.5 HIGH

CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS V3 Impact Score: 5.9

CVSS V3 Exploitability Score: 3.9


Affected Products and Versions

IBM Platform Symphony 6.1.1, 7.1 Fix Pack 1, and 7.1.1, and IBM Spectrum
Symphony 7.1.2 and 7.2. All OS editions, including Linux and Windows, are
affected. The remediation steps for Linux are provided in this document. For
Windows, use the Linux steps as a reference and find the correct path for
patching.


Remediation/Fixes

None


Workarounds and Mitigations

For IBM Platform Symphony 6.1.1, follow these steps to upgrade to Commons
FileUpload v1.3.3 on Linux hosts:

    1.1 Log on to each management host in the cluster and download the
    commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI plc purger

    1.3 For backup purposes, move the following files, which will be replaced by
    new files:

        > mkdir -p /tmp/guibackup/
        > mkdir -p /tmp/perfbackup/
        > mv $EGO_TOP/gui/1.2.8/lib/commons-fileupload-*.jar /tmp/guibackup
        > mv $EGO_TOP/perf/1.2.8/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the
    commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to
    your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/1.2.8/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/1.2.8/lib/

    1.5 On each management host, clean up the GUI work directory:

        > rm -rf $EGO_TOP/gui/work/*

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI plc purger

For IBM Platform Symphony 7.1 Fix Pack 1, follow these steps to upgrade to
Commons FileUpload v1.3.3 on Linux hosts:

    1.1 Log on to each management host in the cluster and download the
    commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI plc purger

    1.3 For backup purposes, move the following files, which will be replaced by new files:

        > mkdir -p /tmp/guibackup/
        > mkdir -p /tmp/perfbackup/
        > mv $EGO_TOP/gui/3.1/lib/commons-fileupload-*.jar /tmp/guibackup
        > rm $EGO_TOP/gui/soam/7.1/symgui/WEB-INF/lib/commons-fileupload-*.jar
        > mv $EGO_TOP/perf/3.1/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the
    commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to
    your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/3.1/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/3.1/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/soam/7.1/symgui/WEB-INF/lib/

    1.5 On each management host, clean up the GUI work directory:

        > rm -rf $EGO_TOP/gui/work/*

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI plc purger

For IBM Platform Symphony 7.1.1, follow these steps to upgrade to Commons
FileUpload v1.3.3 on Linux hosts:

    1.1 Log on to each management host in the cluster and download the
    commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI ascd rest plc purger

    1.3 For backup purposes, move the following files, which will be replaced by
    new files:

        > mkdir -p /tmp/guibackup/
        > mkdir -p /tmp/perfbackup/
        > mv $EGO_TOP/gui/3.3/lib/commons-fileupload-*.jar /tmp/guibackup
        > rm $EGO_TOP/wlp/usr/servers/gui/apps/soam/7.1.1/symgui/WEB-INF/lib/commons-fileupload-*.jar
        > rm $EGO_TOP/wlp/usr/servers/rest/apps/soam/7.1.1/deploymentrest/WEB-INF/lib/commons-fileupload-*.jar
        > rm $EGO_TOP/asc/1.1.1/lib/commons-fileupload-*.jar
        > mv $EGO_TOP/perf/3.3/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the
    commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to
    your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/3.3/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/3.3/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/wlp/usr/servers/gui/apps/soam/7.1.1/symgui/WEB-INF/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/wlp/usr/servers/rest/apps/soam/7.1.1/deploymentrest/WEB-INF/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/asc/1.1.1/lib/

    1.5 On each management host, clean up the GUI work directories:

        > rm -rf $EGO_TOP/gui/work/*

        > rm -rf $EGO_TOP/gui/workarea/*

    NOTE: If you configured the WLP_OUTPUT_DIR parameter and
    APPEND_HOSTNAME_TO_WLP_OUTPUT_DIR is set to true in the
    $EGO_CONFDIR/wlp.conf file, you must clean up the
    $WLP_OUTPUT_DIR/webgui_hostname/gui/workarea/ directory.

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI rest ascd plc purger

For IBM Spectrum Symphony 7.1.2, follow these steps to upgrade to Commons
FileUpload v1.3.3 on Linux hosts:

    1.1 Log on to each management host in the cluster and download the
    commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI rest plc purger

    1.3 For backup purposes, move the following files, which will be replaced by
    new files:

        > mkdir -p /tmp/guibackup/
        > mkdir -p /tmp/perfbackup/
        > mv $EGO_TOP/gui/3.4/lib/commons-fileupload-*.jar /tmp/guibackup
        > rm $EGO_TOP/wlp/usr/servers/rest/apps/3.4/deploymentrest/WEB-INF/lib/commons-fileupload-*.jar
        > mv $EGO_TOP/perf/3.4/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the
    commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to
    your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/3.4/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/3.4/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/wlp/usr/servers/rest/apps/3.4/deploymentrest/WEB-INF/lib/

    1.5 On each management host, clean up the GUI work directories:

        > rm -rf $EGO_TOP/gui/work/*

        > rm -rf $EGO_TOP/gui/workarea/*

    NOTE: If you configured the WLP_OUTPUT_DIR parameter and
    APPEND_HOSTNAME_TO_WLP_OUTPUT_DIR is set to true in the
    $EGO_CONFDIR/wlp.conf file, you must clean up the
    $WLP_OUTPUT_DIR/webgui_hostname/gui/workarea/ directory.

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI rest plc purger

For IBM Spectrum Symphony 7.1.2 and IBM Spectrum Conductor with Spark 2.2
multi-head cluster, follow these steps to upgrade to Commons FileUpload v1.3.3
on Linux hosts:

    1.1 Log on to each management host in the cluster and download the
    commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI rest plc purger

    1.3 For backup purposes, move the following files, which will be replaced by new files:

        > mkdir -p /tmp/guibackup/

        > mkdir -p /tmp/perfbackup/

        > mv $EGO_TOP/gui/3.5/lib/commons-fileupload-*.jar /tmp/guibackup

        > rm $EGO_TOP/wlp/usr/servers/rest/apps/3.5/deploymentrest/WEB-INF/lib/commons-fileupload-*.jar

        > mv $EGO_TOP/perf/3.5/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/3.5/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/3.5/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/wlp/usr/servers/rest/apps/3.5/deploymentrest/WEB-INF/lib/

    1.5 On each management host, clean up the GUI work directories:

        > rm -rf $EGO_TOP/gui/work/*

        > rm -rf $EGO_TOP/gui/workarea/*

    NOTE: If you configured the WLP_OUTPUT_DIR parameter and
    APPEND_HOSTNAME_TO_WLP_OUTPUT_DIR is set to true in the
    $EGO_CONFDIR/wlp.conf file, you must clean up the
    $WLP_OUTPUT_DIR/webgui_hostname/gui/workarea/ directory.

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI rest plc purger

For IBM Spectrum Symphony 7.2, follow these steps to upgrade to Commons
FileUpload v1.3.3 on Linux hosts:

    1.1 Log on to each management host in the cluster and download the commons-fileupload-1.3.3-bin.tar.gz package from the following location:

    http://archive.apache.org/dist/commons/fileupload/binaries/commons-fileupload-1.3.3-bin.tar.gz

    1.2 Stop the following services:

        > egosh service stop WEBGUI rest plc purger

    1.3 For backup purposes, move the following files, which will be replaced by new files:

        > mkdir -p /tmp/guibackup/
        > mkdir -p /tmp/perfbackup/
        > mv $EGO_TOP/gui/3.6/lib/commons-fileupload-*.jar /tmp/guibackup
        > rm $EGO_TOP/wlp/usr/servers/rest/apps/3.6/deploymentrest/WEB-INF/lib/commons-fileupload-*.jar
        > mv $EGO_TOP/perf/3.6/lib/commons-fileupload-*.jar /tmp/perfbackup/

    1.4 On each management host, decompress the commons-fileupload-1.3.3-bin.tar.gz package and copy the following files to your cluster directory:

        > tar zxf commons-fileupload-1.3.3-bin.tar.gz

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/gui/3.6/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/perf/3.6/lib/

        > cp commons-fileupload-1.3.3-bin/commons-fileupload-1.3.3.jar $EGO_TOP/wlp/usr/servers/rest/apps/3.6/deploymentrest/WEB-INF/lib/

    1.5 On each management host, clean up the GUI work directories:

        > rm -rf $EGO_TOP/gui/work/*

        > rm -rf $EGO_TOP/gui/workarea/*

    NOTE: If you configured the WLP_OUTPUT_DIR parameter and
    APPEND_HOSTNAME_TO_WLP_OUTPUT_DIR is set to true in the
    $EGO_CONFDIR/wlp.conf file, you must clean up the
    $WLP_OUTPUT_DIR/webgui_hostname/gui/workarea/ directory.

    1.6 Launch a web browser and clear your browser cache.

    1.7 Start the following services:

        > egosh service start WEBGUI rest plc purger


*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

iQIVAwUBWnqU6Ix+lLeg9Ub1AQgDPhAAkvfVXpnWm2n6cYkgVrDBekkX/zqa3UiV
9jkdK0D0eB2UgyDX8neb1jmOzYIniCvqjcmlqjUZS55XvPFbI/UfGJjeA8TfhGle
UbRzS+s8ch0dU9pKZdCLu6cCpNiJt/s7DtVeG/Is5MX3ne/Yy5oIU6L2xvNR/y00
sVI9+AcNHFkisDmK/kEmV267+nUxwKvHrFK/x2YGhQ3N79xCeH9UwwiCC+liI34p
N6k0vsWsiAdDJM8EYUYDU4FxNoB4UW7vv9Uivp0xvJru9jnHg+gZRIZKupAMQxxR
EFqrvEPx7W/bmHayfbpu3xIZCqAplfsiFfd/hF9itKwLHYsIH0sdObQBlQm7Op4i
zfxMo00wsAlTwlLeVUVbgqFo6iIvURow5gUVKxp1qOs59uJWfFIShtfmGwMHWmET
F3RvaMMmnS36Ucx3oycnJJK0nS/95nhWxLwwd4ZKmznuGG3oT9ABDQu3akFkHKhE
GScpg3JLQsk6MSQpT08HKcBL9JA2yOSYPmegjLCXDF5/0fn0iFkk5JpXccSqWI94
lmb2dZ0S2vR5f70zsXFNRJvPxHzWu7ImXIrt1Jv79Nz9MF8Rl27GImB9qFsJc0jZ
TBlpk68/9D5PziNW8l7u47Cxnw7da1phH9GLkrTHwdZuiHRCGy+15A6TiMrlcjNg
zBOMgYXg8Ec=
=YNDi
-----END PGP SIGNATURE-----

« Back to bulletins