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

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

                               ESB-2017.0821
Security Bulletin: Apache Struts v2 Jakarta Multipart parser code execution
affects IBM Platform Cluster Manager Standard Edition, IBM Platform Cluster
       Manager Advanced Edition, Platform HPC, and Spectrum Cluster
                        Foundation (CVE-2017-5638)
                               28 March 2017

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

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

Product:           IBM Platform HPC for System x
Publisher:         IBM
Operating System:  Linux variants
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-5638  

Reference:         ASB-2017.0022.2
                   ESB-2017.0728
                   ESB-2017.0656.2

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

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

Security Bulletin: Apache Struts v2 Jakarta Multipart parser code execution
affects IBM Platform Cluster Manager Standard Edition, IBM Platform Cluster
Manager Advanced Edition, Platform HPC, and Spectrum Cluster Foundation
(CVE-2017-5638)

Document information

More support for: Platform HPC for System x

Software version: 4.1, 4.1.1, 4.2

Operating system(s): Linux

Software edition: Advanced, Enterprise, Standard

Reference #: T1025052

Modified date: 27 March 2017

Security Bulletin

Summary

An Apache Struts vulnerability of arbitrary code execution was addressed
by IBM Platform Cluster Manager Standard Edition, IBM Platform Cluster
Manager Advanced Edition, Platform HPC, and Spectrum Cluster Foundation.

Vulnerability Details

CVEID: CVE-2017-5638
DESCRIPTION: Apache Struts could allow a remote
attacker to execute arbitrary code on the system, caused by an error when
performing a file upload based on Jakarta Multipart parser. An attacker
could exploit this vulnerability using a malicious Content-Type value to
execute arbitrary code on the system.
CVSS Base Score: 7.3
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/122776 for
the current score
CVSS Environmental Score*: Undefined
CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)

Affected Products and Versions

Platform Cluster Manager Standard Edition Version 4.1.0, 4.1.1 and 4.1.1.1
Platform Cluster Manager Advanced Edition Version 4.2.0, 4.2.0.1, 4.2.0.2
and 4.2.1
Platform HPC Version 4.1.1, 4.1.1.1, 4.2.0 and 4.2.1
Spectrum Cluster Foundation 4.2.2

Remediation/Fixes

Product						VRMF							APAR	Remediation/First Fix
Platform Cluster Manager Standard Edition	4.1.0, 4.1.1, 4.1.1.1, 4.2.0, 4.2.0.1, 4.2.0.2, 4.2.1	None	See workaround
Platform Cluster Manager Advanced Edition	4.2.0, 4.2.0.1, 4.2.0.2, 4.2.1  			None    See workaround
Platform HPC					4.1.1, 4.1.1.1, 4.2.0, 4.2.1				None	See workaround
Spectrum Cluster Foundation			4.2.2							None	See workaround

Workarounds and Mitigations

Platform Cluster Manager 4.2.1 & Platform HPC 4.2.1 & Spectrum Cluster
Foundation 4.2.2
1 Download the struts-2.3.32-lib.zip package from the following
location:http://archive.apache.org/dist/struts/2.3.32/
2 Copy the struts-2.3.32-lib.zip package to the management node.
3 Extract the struts-2.3.32-lib.zip package on the management node.
# mkdir -p /root/backup
# mv
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib/struts2-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib/struts2-json-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib/struts2-spring-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib/xwork-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib/freemarker-*
/root/backup

# unzip struts-2.3.32-lib.zip# cd
struts-2.3.32/lib# cp xwork-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib#
cp struts2-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib#
cp struts2-jasperreports-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib#
cp struts2-json-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib#
cp struts2-spring-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib#
cp freemarker-2.3.22.jar
/opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib
4 Restart Platform HPC services. If high availability is enabled, run the
following commands on the active management node:
# pcmhatool failmode -m manual# pcmadmin service stop --service WEBGUI#
pcmadmin service start --service WEBGUI# pcmhatool failmode -m auto
Otherwise, if high availability is not enabled, run the following
commands on the management node:
# pcmadmin service stop --service WEBGUI# pcmadmin service start
- --service WEBGUI

Platform Cluster Manager 4.2.0 4.2.0.x & Platform HPC 4.2.0 4.2.0.x

1 Download the struts-2.3.32-lib.zip package from the following
location:http://archive.apache.org/dist/struts/2.3.32/
2 Copy the struts-2.3.32-lib.zip package to the management node.
3 Extract the struts-2.3.32-lib.zip package on the management node.
4 # mkdir -p /root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-json-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-spring-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/xwork-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/freemarker-*
/root/backup

# unzip struts-2.3.32-lib.zip# cd
struts-2.3.32/lib# cp xwork-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-jasperreports-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-json-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-spring-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp freemarker-2.3.22.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

5 Restart Platform HPC services. If high availability is enabled, run the
following commands on the active management node:
# pcmhatool failmode -m manual# pcmadmin service stop --service WEBGUI#
pcmadmin service start --service WEBGUI# pcmhatool failmode -m auto
Otherwise, if high availability is not enabled, run the following
commands on the management node:
# pcmadmin service stop --service WEBGUI# pcmadmin service start
- --service WEBGUI

Platform Cluster Manager 4.1.x & Platform HPC 4.1.x
1 Download the struts-2.3.32-lib.zip package from the following
location:http://archive.apache.org/dist/struts/2.3.32/
2 Copy the struts-2.3.32-lib.zip package to the management node.
3 Extract the struts-2.3.32-lib.zip package on the management node
# mkdir -p /root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-json-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/struts2-spring-plugin-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/xwork-core-*
/root/backup# mv
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/freemarker-*
/root/backup

# unzip struts-2.3.32-lib.zip# cd
struts-2.3.32/lib/# cp xwork-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-core-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-json-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-spring-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp freemarker-2.3.22.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib#
cp struts2-jasperreports-plugin-2.3.32.jar
/opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib
4 Restart Platform HPC services. If high availability is enabled, run the
following commands on the active management node:
# pcmhatool failmode -m manual# pmcadmin stop# pmcadmin start#
pcmhatool failmode -m auto
Otherwise, if high availability is not enabled, run the following commands
on the management node:
# pmcadmin stop# pmcadmin start

If providing a mitigation add this line to this section:
IBM recommends that you review your entire environment to identify vulnerable
releases of the Open Source Apache Struts Vulnerabilities Collections and
take appropriate mitigation and remediation actions.

Important note: IBM strongly suggests that all System z customers subscribe
to the System z Security Portal to receive the latest critical System
z security and integrity service. If you are not subscribed, see the
instructions on the System z Security web site. Security and integrity
APARs and associated fixes will be posted to this portal. IBM suggests
reviewing the CVSS scores and applying all security or integrity fixes as
soon as possible to minimize any potential risk.

References
Complete CVSS v3 Guide
On-line Calculator v3

Related information
IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog
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:

        http://www.auscert.org.au/render.html?cid=1980

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

iQIVAwUBWNnlzYx+lLeg9Ub1AQh+Tw//YPhldUVfr4Aqs4uTTHZ1kOklB6oK5Dn2
lOb1LUciXkZZEF3jF3Arhgu0tOZjHRucUPYeqwUPgQoer4j6McWVEt5NP3tdODpY
bIF7XMrjzlJzmeUKWhkAwX4LQS9RkYntA2nfbOMtIBRxDn5NqD6X/oLWKEArFZvr
89jDgXLZWoA4ZIpg/TUeft4JMtzE22eaPUc+6a9WZQBALRaXqldEiu8rzZSB8Lhk
aQeMB4WVlnhyE/gtCLFgYxC2WbBQcNq31yFo0K7yamh+1nQ30cbnpYcOqllBUXWJ
aOzlf3iKDxGdKOuprNeLIuIJYlF93L5kHHwdaMYi9jzzvkE29rD56ZSXSFvKZyz8
t4Iw87dTmJpY+scETKLE1Qs08648tuwroikHE12X2V643bOZ0A4tJpR7rHhrrgIA
EQMARV3y/8Fcny8t+IZyNHsp3pMy/uWt7xLoiMwGGd5MawG9gRSWVajhJcjJn9qi
50LT2jKWVqu4nqBYQIxcPn0CaHqjifW/4ioqadagpcMoFBUtSffFizdiVLS3+z14
WmlCfdz5zR0/D5804McA68cPNeO8cAvDLPmzvEujXjEahaf99ZgSt0tJMEdnfnli
Vc0Rs/F1sNkgxvzy/4jYJRSrODiU6pQ5lDSM+7jPW0ss04MmvArQ/HxZorqHBxh8
USRFqzN7eWY=
=SN5K
-----END PGP SIGNATURE-----