-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2015.0784
Security Bulletin: Vulnerabilities in GSKit affect Security Access Manager
               for DataPower (CVE-2015-0159, CVE-2015-0138)
                               30 March 2015

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

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

Product:           IBM DataPower Gateway
Publisher:         IBM
Operating System:  Network Appliance
Impact/Access:     Access Privileged Data         -- Remote/Unauthenticated
                   Provide Misleading Information -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-0159 CVE-2015-0138 CVE-2014-8730

Reference:         ESB-2015.0683
                   ESB-2015.0646
                   ESB-2014.2484
                   ESB-2014.2466
                   ESB-2014.2520.2
                   ESB-2014.2375.2

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

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

Security Bulletin: Vulnerabilities in GSKit affect Security Access Manager 
for DataPower (CVE-2015-0159, CVE-2015-0138)

Security Bulletin

Document information
More support for:

IBM DataPower Gateways
General

Software version:
5.0.0, 6.0.0, 6.0.1, 7.0.0, 7.1

Operating system(s):
Firmware

Software edition:
Edition Independent

Reference #:
1700204

Modified date:
2015-03-26

Summary

GSKit is an IBM component that is used by Security Access Manager components 
on DataPower. The GSKit that is shipped with Security Access Manager contains 
several security vulnerabilities including the “FREAK: Factoring Attack on 
RSA-EXPORT keys" TLS/SSL client and server vulnerability. The Security Access 
Manager components on DataPower have addressed the applicable CVEs.

Both the Access Manager Reverse Proxy introduced in DataPower version 7.1 and 
the Access Manager Client are affected.

Vulnerability Details

CVEID: CVE-2015-0138

DESCRIPTION: A vulnerability in various IBM SSL/TLS implementations could 
allow a remote attacker to downgrade the security of certain SSL/TLS 
connections. An IBM SSL/TLS client implementation could accept the use of an 
RSA temporary key in a non-export RSA key exchange ciphersuite. This could 
allow a remote attacker using man-in-the-middle techniques to facilitate 
brute-force decryption of TLS/SSL traffic between vulnerable clients and 
servers.

This vulnerability is also known as the FREAK attack.

CVSS Base Score: 4.3
CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/#/vulnerabilities/100691 
CVSS Environmental Score*: Undefined
CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVEID: CVE-2015-0159

DESCRIPTION: An unspecified error in GSKit usage of OpenSSL crypto function 
related to the production of incorrect results on some platforms by Bignum 
squaring (BN_sqr) has an unknown attack vector and impact in some ECC 
operations.

CVSS Base Score: 2.6
CVSS Temporal Score: See http://exchange.xforce.ibmcloud.com/#/vulnerabilities/100835 
CVSS Environmental Score*: UndefinedCVSS Vector: (AV:N/AC:H/Au:N/C:N/I:P/A:N)

Affected Products and Versions

IBM DataPower Gateway appliances all versions through 6.0.0.12, 6.0.1.8, 
7.0.0.5, 7.1.0.3

Remediation/Fixes

Fix is available in versions 6.0.0.13, 6.0.1.9, 7.0.0.6, 7.1.0.4. Refer to 
APAR IT07604.

You should verify applying this fix does not cause any compatibility issues.

The remediation for CVE-2015-0138 also remediates CVE-2014-8730 "TLS Padding 
Vulnerability" (also known as "POODLE 2"). Communication errors can occur if 
both ends of the TLS connection do not observe the same strict CBC padding 
requirements required to remediate POODLE 2. See the Workarounds and 
Mitigations section below for more detail.

For DataPower customers using versions 5.x and older versions, IBM recommends 
upgrading to a fixed, supported version/release/platform of the product.

Workarounds and Mitigations

The remediation for CVE-2014-8730 enforces strict CBC padding checks by the 
client. If the server does not implement strict CBC padding checks, the 
client will reject the TLS data packet and report an error.

IBM STRONGLY recommends that all servers in the Access Manager environment be 
upgraded to a version of GSKit (or third-party SSL stack) that remediates the 
TLS Padding Vulnerability (CVE-2014-8730). If clients and servers are 
mis-matched with respect to this remediation, intermittent communication 
errors can occur when the client expects strict padding and the server does 
not implement it.

If Access Manager server upgrades are not immediately possible, Access 
Manager can be forced to not perform strict padding checks.

Access Manager Client
For each Access Manager Client perform the following:
1) Select Objects > Access Settings > Access Manager Client
2) Select the Access Manager Client
3) Edit the Access Manager client configuration file
4) Add the following string to the [ssl] stanza:
ssl-disable-strict-cbc-padding-check = yes

5) Click Apply to deploy the changes and restart the client.

Access Manager Reverse Proxy
For each Access Manager Reverse Proxy instance perform the following:
1) Select Objects > Security Access Manager > Access Manager Reverse Proxy 
from the WebGUI navigation panel.
2) Select the Reverse Proxy instance.
3) Select the Manage Files tab and then the Edit button for the Configuration 
File property.
In the [ssl] stanza, add the bold lines below:
gsk-attr-name = enum:471:0
jct-gsk-attr-name = enum:471:0

2) Click Apply to deploy the changes and restart the instance.

NOTE: These settings should be removed when all servers in the Access Manager 
environment have been upgraded to remediate CVE-2014-8730.
Get Notified about Future Security Bulletins

Subscribe to My Notifications to be notified of important product support 
alerts like this.

References
Complete CVSS Guide
On-line Calculator V2

Related information
IBM Secure Engineering Web Portal
IBM Product Security Incident Response Blog
Access Manager FREAK security bulletin:
http://www-01.ibm.com/support/docview.wss?uid=swg21698891
Access Manager POODLE 2 security bulletin:
http://www-01.ibm.com/support/docview.wss?uid=swg21692802
Access Manager for DataPower POODLE 2 security bulletin:
http://www-01.ibm.com/support/docview.wss?uid=swg21692934

*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

iQIVAwUBVRjUJBLndAQH1ShLAQLiOQ//XrZZgxr3bhuEWdw6Oz9WfNwP5ELXveKm
yMfxD3G46tvF7wdIQz8h3NK+m3y1SCjQxuH7mBeF7f4iJ1IZxRKEy3bxmEQfnadx
wXxPLTmneIvMVkL24EdytVkyMUiZZZCbRFAPTPpzQP8KM/C9RHIxcpDrua3XEIbf
nh3FrlTl1TPb0nal9uwMh5owx4VS2h8D75KQUg1TiesAMRjtm+qN7J8+YMl1vthQ
6KpLOSfK3g53CdkkdtN+enPAtTOxZdveJYFOzeKrEwog+0EPdPOo1wagxkuqKuQm
dr9vFBOooNWSfb4vOJPCkiY4G6EytFGeNF6S3YdQyQwotzc78MicSi/apPnBuWHc
xgaZ9hJxEqpylYnqpyeryru518Ikbw+LHymxQ7VJEn3eYeUJaPRLGyvu5HPoczMj
Em+dbzGrWg+4//h0dJ2WQzg+85EwObwB001SqAXQqnZ5p9txhCKpSeAnZrw5atuF
9q2V5renCDVz96Rgo10/zObHwM2YToJ/ZYNTzSrFTI532UxQBDWTmzUnR5fM1XqY
llvHpiwJTzwZ3F9BzwDt+pU1/GxZJJhOtRNxULjuPSN0MighmC7eRZoq2mAJ4pWe
CH0gj1BgmiyYnAHXipTJdZOoVcmhvehd684iiBcWrxpF/RcKOKqY05E587h//lWq
2RyFcUQMuNs=
=ZPYS
-----END PGP SIGNATURE-----