ESB-2017.3098 - [Win][Linux][Solaris][AIX] IBM Case Manager: Execute arbitrary code/commands - Remote/unauthenticated 2017-12-05

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.3098
         Security Bulletin: IBM Case Manager may be vulnerable to
                 Apache Commons FileUpload code execution
                              5 December 2017

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

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

Product:           IBM Case Manager
Publisher:         IBM
Operating System:  AIX
                   Linux variants
                   Solaris
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-1000031  

Reference:         ESB-2017.3070
                   ESB-2017.2878
                   ESB-2017.2436

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

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

Security Bulletin: IBM Case Manager may be vulnerable to Apache Commons 
FileUpload code execution

Security Bulletin

Document information

More support for: Case Manager

Software version: 5.1.1, 5.2.0, 5.2.1, 5.3.0, 5.3.1

Operating system(s): AIX, Linux, Solaris, Windows

Reference #: 2010267

Modified date: 04 December 2017

Summary

IBM Case Manager may be vulnerable to Apache Commons FileUpload code execution
attacks.

Vulnerability Details

CVEID: CVE-2016-1000031

DESCRIPTION: Apache Commons FileUpload, as used in certain products, could 
allow a remote attacker to execute arbitrary code on the system, caused by 
deserialization of untrusted data in DiskFileItem class of the FileUpload 
library. A remote attacker could exploit this vulnerability to execute 
arbitrary code under the context of the current process.

CVSS Base Score: 9.8

CVSS Temporal Score: See 
https://exchange.xforce.ibmcloud.com/vulnerabilities/117957 for the current 
score

CVSS Environmental Score*: Undefined

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

Affected Products and Versions

This vulnerability affects the following versions and releases:

IBM Case Manager 5.1.1.0 - 5.1.1.4

IBM Case Manager 5.2.0.0 - 5.2.0.4

IBM Case Manager 5.2.1.0 - 5.2.1.7

IBM Case Manager 5.3.0.0

IBM Case Manager 5.3.1.0

Remediation/Fixes

Product		VRMF			APAR	Remediation/First Fix

IBM Case Manager 5.3.0.0 - 5.3.1.0 	PJ45083 5.3.2.0-ICM (Q4/2017) or later 
						versions

IBM Case Manager 5.2.1.0 - 5.2.1.7 	PJ45082 5.2.1.7-ICM-IF002 (Q4/2017) or 
						later versions

IBM Case Manager 5.2.0.0 - 5.2.0.4 	PJ45081 5.2.0.4-ICM-IF002 (Q1/2018) or 
						later versions

IBM Case Manager 5.1.1.0 - 5.1.1.4 	PJ45077 5.1.1.4-ICM-IF001 (Q1/2018) or 
						later versions

Workarounds and Mitigations

The Apache Commons FileUpload jar file, which is installed by IBM Case Manager
(ICM), can be manually updated to the latest version to mitigate the security
vulnerability.

Below are the manual instructions on how to update the Apache Common 
FileUpload jar file with the respective ICM releases.

1) Download the new Apache Commons FileUpload binary from Apache:

https://commons.apache.org/proper/commons-fileupload/download_fileupload.cgi

2) Extract the contents and locate the commons-fileupload-1.3.3.jar file.

Note: As of the writing of the security bulletin, the latest version of 
FileUpload is v1.3.3.

IBM Case Manager 5.1.x release

3) Navigate to the <CaseManagement Install 
Folder>\CaseWidgets\CaseForms\WEB-INF\lib

4) Backup and remove the current commons-fileupload-1.xx.jar

5) Copy the new common-fileupload-1.3.3.jar file into the folder

6) Run Case Manager Admin Client (CMAC), and open an existing profile

7) Run the 'Deploy the Forms Application' task.

8) Restart the application server

IBM Case Manager 5.2.x release

3) Navigate to the <CaseManagement Install 
Folder>\configure\exploded_apps\forms\WEB-INF\lib

4) Backup and remove the current commons-fileupload-1.xx.jar

5) Copy the new common-fileupload-1.3.3.jar file into the folder

6) Run Case Manager configuration tool, and open an existing profile

7) Run the following tasks

Create Case Manager Application

Deploy the Forms Application

8) Restart the application server

IBM Case Manager 5.3.x release

3) Navigate to the <CaseManagement Install 
Folder>\configure\exploded_apps\forms\WEB-INF\lib

4) Backup and remove the current commons-fileupload-1.xx.jar

5) Copy the new common-fileupload-1.3.3.jar file into the folder

6) Run Case Manager configuration tool, and open an existing profile

7) Run the following tasks

Create Case Manager Applications

Deploy the Forms Application

8) Restart the application server

References

Complete CVSS v3 Guide

On-line Calculator v3

Related information

IBM Secure Engineering Web Portal

IBM Product Security Incident Response Blog

Change History

04 Dec 2017: 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

iQIVAwUBWiXcnYx+lLeg9Ub1AQgmAg//ZDaYkP9WYX4WO5lCGphAVLtGnEGkQUvx
DiuS70lL074bk7/Cc1XTqy7NzaHL6GsPsQVtWcvrpva2VlrT6k1DgufDcnaMoPZA
R6iirApSYKFwliAgs//4rgRlWS1FqnTMSJkbejv4ig/s2QaArxdtbZGU1g4lP8cU
ZlbVxUTBApH+I/quIslJ2s+iwRE5bxMuieFZHOTOQiyk/AfYEyHHN3pD4QvfC9Xh
HLPVpmqFMEUAn1pR2pz/0neuZh5e9A/vvqbfSe05Ba1hdEu181X0F+e3xmyBf+0N
wLHgOO/7akaP1x57/x/Uu3e5QAUJXlQ/1B7NrK6EANBC3wO0bqtn0/Vz9eU4iepE
5pX80NYTl1AD0oZvN1MPJw99ulEeRphX5QC8PuUSdPZBoLX6ha6BjY50zaEaG7wr
Xt3Ae0j8VleA5E6YrrV1NvscefVeoMt44hA/xBLThAZA/TWQHNuHWxz5GPg7x/EU
FQBHsVistnSFo3SkBIMEeGqV+V9PboIGPK4oc7yZztDEkPEA/4grGTCqvkcXsXiq
msCc6w5OoRHi/ly8PE7w92tR/N3Ib6YSATsY5elHW3Q2ZNr4kZVExtc4b+jw+7OP
dcEseCH2u4lIzlidB1Q+u+Q6xH8R+eJo3PUnbOvual6CGMUEEw52JVSZ9yQ9a8J/
8ZlbXiUQpRE=
=zBqS
-----END PGP SIGNATURE-----

« Back to bulletins