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

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

                               ESB-2017.2378
  Security Bulletin: Open Source Apache Struts Vulnerabilities affect IBM
  Platform Cluster Manager Standard Edition, IBM Platform Cluster Manager
      Advanced Edition, Platform HPC, and Spectrum Cluster Foundation
                             20 September 2017

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

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

Product:           IBM Platform Cluster Manager
                   IBM Platform HPC
                   IBM Spectrum Cluster Foundation
Publisher:         IBM
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-12611  

Reference:         ESB-2017.2280

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

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

Security Bulletin: Open Source Apache Struts Vulnerabilities affect IBM
Platform Cluster Manager Standard Edition, IBM Platform Cluster Manager
Advanced Edition, Platform HPC, and Spectrum Cluster Foundation

Security Bulletin

Document information

More support for:

Platform Cluster Manager

PCM GUI

Software version:

4.1.0, 4.1.1, 4.2

Operating system(s):

Platform Independent

Software edition:

Advanced, Standard

Reference #:

T1025776

Modified date:

19 September 2017

Summary

Open Source Apache Struts Vulnerabilities were addressed by IBM Platform
Cluster Manager Standard Edition, IBM Platform Cluster Manager Advanced
Edition, Platform HPC, and Spectrum Cluster Foundation.

Vulnerability Details

CVE-ID

: CVE-2017-12611

Description

: Apache Struts could allow a remote attacker to execute arbitrary code on
the system, caused by the use of an unintentional expression in Freemarker
tag instead of string literals. An attacker could exploit this vulnerability
to execute arbitrary code on the system.

CVSS Base Score: 7.3

CVSS Temporal Score:

https://exchange.xforce.ibmcloud.com/vulnerabilities/131603

for more information

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

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.

Platform Cluster Manager 4.2.1 & Platform HPC 4.2.1 & Spectrum Cluster
Foundation 4.2.2

1. Download the struts-2.3.34-lib.zip package from the following location:

http://archive.apache.org/dist/struts/2.3.34/

2. Copy the struts-2.3.34-lib.zip package to the management node.

3. Extract the struts-2.3.34-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

# mv /opt/pcm/web-portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war
/WEB-INF/lib/ognl-* /root/backup

# unzip struts-2.3.34-lib.zip

# cd struts-2.3.34/lib

# cp xwork-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib

# cp struts2-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib

# cp ognl-3.0.21.jar /opt/pcm/web-
portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib

# cp struts2-json-plugin-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/wlp/usr/servers/platform/apps/platform.war/WEB-INF/lib

# cp struts2-spring-plugin-2.3.34.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.34-lib.zip package from the following location:

http://archive.apache.org/dist/struts/2.3.34/

2. Copy the struts-2.3.34-lib.zip package to the management node.

3. Extract the struts-2.3.34-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

# mv /opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/ognl-*
/root/backup

# unzip struts-2.3.34-lib.zip

# cd struts-2.3.34/lib

# cp xwork-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp ognl-3.0.21.jar /opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-
INF/lib

# cp struts2-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp struts2-json-plugin-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp struts2-spring-plugin-2.3.34.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.34-lib.zip package from the following location:

http://archive.apache.org/dist/struts/2.3.34/

2. Copy the struts-2.3.34-lib.zip package to the management node.

3. Extract the struts-2.3.34-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

# mv /opt/pcm/web-portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib/ognl-*
/root/backup

# unzip struts-2.3.34-lib.zip

# cd struts-2.3.34/lib/

# cp xwork-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp struts2-core-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp struts2-json-plugin-2.3.34.jar /opt/pcm/web-
portal/gui/3.0/tomcat/webapps/platform/WEB-INF/lib

# cp struts2-spring-plugin-2.3.34.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 ognl-3.0.21.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



References

Complete CVSS v2 Guide

On-line Calculator v2



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:

        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

iQIVAwUBWcHjfYx+lLeg9Ub1AQinXA/+Kt1QOVwng0VETB58cP20JIFqwGnl/WMZ
bnPS2+cDoVPHhkzS94vVezCcctR9ITiOCkg+1K+yStXLPplcf3Sk82WuWZw0TsVg
KxtnHJlJVK4NVIGynyVgKuVGAtBTBwspRPmH8dJ0Ptrfsl3QY5AdJe5sh1ITCRP9
Hykjbc7ZkZmHsmHAO/S31I/+p088GwnZ39R532nel12cKWNeA5vjRjkGkTKnBFWV
4N71XMZMszQl4sifjxJuLQ2o2JcBCYafN0CJuBAL4o3rKdEkX4ebWHhfCGgdrcVa
5k4mFSrPZhKlG7WNaXeJ8ZpSKlKvWBgRA62OYv6y8ZkXc75/KD+CwLheRJupqQ6Z
e8Wxnq+SCmUPgorMkJfJuCU2du9WrGvV9mPp5HNnqFJO35rQ8dHLX+q7zUc/OWLc
mVujTEgVuiKUY4dr7RZRRmazP7CkxIEqr4UUkucn3XOum4LxtlCXjd2dk4hafUy3
Op770VUlga311p+ZHzXvBmbCvtoTOmizEhTG+gePoVFzdw+vTqzOfCQWEH+QpHXc
H68XoPpYodoM7Q2CQT7ZTCSOE4zd73wgVCQADx3IHdgfpg9w7HT6thgffRF5mZoA
JRdLePHEkzZg7UCp9Ph220is7gGpHd9oTEUu88CTg1aqvPtHNJsGlejYmMa6R8s0
KRXWg5wOXmA=
=0NSK
-----END PGP SIGNATURE-----