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


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

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

                               ESB-2018.0017
Security Bulletin: Vulnerability in Apache Commons FileUpload DiskFileItem
           File Manipulation affects IBM Platform Symphony, IBM
                   Spectrum Symphony (CVE-2016-1000031)
                              2 January 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-1000  

Reference:         ASB-2017.0219
                   ASB-2017.0021
                   ASB-2017.0014
                   ESB-2016.1764
                   ESB-2016.0675
                   ESB-2016.0655

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: 27 December 2017

Security Bulletin

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 (legend)

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

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

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

Related information

IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog

*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

iQIVAwUBWkrt34x+lLeg9Ub1AQhaYRAAl8zn3iz2Q6xlsTzJPVdMpTWQjM18CKYE
Ris1gX+EOU/62rgvP4SFH8UTyHNH9HRjZFBTalEtHijbSFdOtUbXZdIH/X26jGxN
QWjiR+8ekULfU0T1KJgyNilVm/tpa/iLL7y5CiQFxFc3xG4M3Mlf9dEBnc9gSe/A
UPW889Xgp0tCQXZkNkJYWWV98IZVgW0Wb2rnQJPP2qUsctMymVVBwXSrqBlyf2F2
4Vx4eMzWVCP4kvPBkUN1qKN9UojOApfw8HFR8m4j830f1FymZ090Cmq/4ktJOGSO
JO0g9w0QDJQn07j4uvJQerjEd/smpUs4+205Py/Fmysic/m1w8ncpmGESMv98Bjc
RNLlM1uH5+41GN+3NXpYbYy7o7piI4JYG5CWk9srTcwp516jRpoUv7E0K0gkjQ1C
5gevTiyMo2QD1dSQ+5rS0iUonxOlPFPmQkgcX6xGZ+QhQ/Ayiwhxn2iux0X0nBQX
WR2gTMgK/pMAhOkvRnMB48mgyZ7a3jW++uUy1hfoOrCNnhxUDO1OKjcfB6KhBPuV
U5n97wDQPtjC5WI6gPAaei1IRnTwNHjShHbHGrGi2yqDiQ25umvaABZT0sEqJbyZ
2D1R2fGC68uugw+fDS0A5oe8XjoL+tZ11LiuTP5uB3CmkMO84hNwl78wIqS/WUIg
RR8d9Xp4cNw=
=Ybo1
-----END PGP SIGNATURE-----