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

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

                               ESB-2015.0291
AIX OpenSSL does not properly calculate the square of a BIGNUM value which
makes it easier for attacker to defeat cryptographic protection mechanisms
                              6 February 2015

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

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

Product:           OpenSSL
Publisher:         IBM
Operating System:  AIX
Impact/Access:     Denial of Service              -- Remote/Unauthenticated
                   Provide Misleading Information -- Remote/Unauthenticated
                   Access Confidential Data       -- Remote/Unauthenticated
                   Reduced Security               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-0206 CVE-2015-0205 CVE-2015-0204
                   CVE-2014-8275 CVE-2014-3572 CVE-2014-3571
                   CVE-2014-3570  

Reference:         ASB-2015.0015
                   ESB-2015.0149
                   ESB-2015.0101
                   ESB-2015.0056
                   ESB-2015.0048.2

Original Bulletin: 
   http://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc

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

IBM SECURITY ADVISORY

First Issued: Wed Feb  4 06:24:41 CST 2015

The most recent version of this document is available here:

http://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc
https://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc
ftp://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc
===============================================================================
                           VULNERABILITY SUMMARY

1. VULNERABILITY:       AIX OpenSSL does not properly calculate the square of a BIGNUM 
                        value which makes it easier for attacker to defeat cryptographic
                        protection mechanisms

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2014-3570

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

2.VULNERABILITY:        AIX OpenSSL Denial of Service due to NULL pointer dereference
                        while processing a DTLS message

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2014-3571

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

3. VULNERABILITY:       AIX OpenSSL allows remote SSL servers to conduct ECDHE-to-ECDH
                        downgrade attacks and thereby causing loss of forward secrecy

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2014-3572

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

4. VULNERABILITY:       AIX OpenSSL allows remote attackers to defeat the fingerprint-based
                        certificate blacklist protection mechanism

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2014-8275

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

5. VULNERABILITY:       AIX OpenSSL allows remote SSL servers to conduct RSA-to-EXPORT_RSA
                        downgrade attacks and thereby offering a weak ephemeral RSA key in
                        a noncompliant role

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2015-0204

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

6. VULNERABILITY:       AIX OpenSSL allows remote attackers to obtain access without
                        knowledge of a private key on a server that recognizes a
                        Certification Authority with DH support

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2015-0205

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

7. VULNERABILITY:       AIX OpenSSL allows remote attackers to cause Denial of Service
                        by sending many duplicate records for the next epoch, leading
                        to failure of replay detection

    PLATFORMS:          AIX 5.3, 6.1 and 7.1
                        VIOS 2.2.*

    SOLUTION:           Apply the fix as described below.

    THREAT:             See below

    CVE Numbers:        CVE-2015-0206

    Reboot required?    NO
    Workarounds?        NO
    Protected by FPM?   NO
    Protected by SED?   NO

===============================================================================
                           DETAILED INFORMATION

I. DESCRIPTION 
   
    1. CVE-2014-3570
    	OpenSSL does not properly calculate the square of a BIGNUM value, which might 
        make it easier for remote attackers to defeat cryptographic protection mechanisms 
        via unspecified vectors

    2. CVE-2014-3571
	    OpenSSL  allows remote attackers to cause a denial of service via a crafted DTLS 
        message that is processed with a different read operation for the handshake 
        header than for the handshake body

    3. CVE-2014-3572
        OpenSSL allows remote SSL servers to conduct ECDHE-to-ECDH downgrade attacks 
        and trigger loss of forward secrecy by omitting the ServerKeyExchange message.

    4. CVE-2014-8275
        OpenSSL does not enforce certain constraints on certificate data, which allows 
        remote attackers to defeat a fingerprint-based certificate-blacklist protection 
        mechanism by including crafted data within a certificate's unsigned portion

    5. CVE-2015-0204
        OpenSSL allows remote SSL servers to conduct RSA-to-EXPORT_RSA downgrade attacks 
        and facilitate brute-force decryption by offering a weak ephemeral RSA key 
        in a noncompliant role.

    6. CVE-2015-0205
        OpenSSL accepts client authentication with a Diffie-Hellman (DH) certificate 
        without requiring a CertificateVerify message, which allows remote attackers 
        to obtain access without knowledge of a private key via crafted TLS Handshake 
        Protocol traffic to a server that recognizes a Certification Authority 
        with DH support.

    7. CVE-2015-0206
	    OpenSSL could allow remote attackers to cause a denial of service (memory 
        consumption) by sending many duplicate records for the next epoch, leading 
        to failure of replay detection.

II. CVSS

    1. CVE-2014-3570
    CVSS Base Score: 2.6
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99710
    CVSS Environmental Score*: Undefined
    CVSS Vector: AV:N/AC:H/Au:N/C:N/I:P/A:N

    2. CVE-2014-3571
    CVSS Base Score: 5
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99703
    CVSS Environmental Score*: Undefined
    CVSS Vector:  AV:N/AC:L/Au:N/C:N/I:N/A:P

    3. CVE-2014-3572
    CVSS Base Score: 1.2
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99705
    CVSS Environmental Score*: Undefined
    CVSS Vector:  AV:L/AC:H/Au:N/C:N/I:P/A:N

    4. CVE-2014-8275
    CVSS Base Score: 1.2
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99709
    CVSS Environmental Score*: Undefined
    CVSS Vector:  AV:L/AC:H/Au:N/C:N/I:P/A:N

    5. CVE-2015-0204
    CVSS Base Score: 1.2
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99707
    CVSS Environmental Score*: Undefined
    CVSS Vector:   AV:L/AC:H/Au:N/C:N/I:P/A:N

    6. CVE-2015-0205
    CVSS Base Score: 2.1
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99708 
    CVSS Environmental Score*: Undefined
    CVSS Vector:   AV:N/AC:H/Au:S/C:N/I:P/A:N

    7. CVE-2015-0206
    CVSS Base Score: 5
    CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/99704
    CVSS Environmental Score*: Undefined
    CVSS Vector:   AV:N/AC:L/Au:N/C:N/I:N/A:P


III. PLATFORM VULNERABILITY ASSESSMENT

        To determine if your system is vulnerable, execute the following
        command:

        lslpp -L openssl.base
 
        The following fileset levels are vulnerable:
 
    A. CVE-2014-3572, CVE-2015-0205, CVE-2015-0206

        AIX Fileset      Lower Level  Upper Level  
        ------------------------------------------
        openssl.base     1.0.1.500    1.0.1.513

    B. CVE-2014-3570, CVE-2014-3571, CVE-2014-8275, CVE-2015-0204

        AIX Fileset      Lower Level  Upper Level   
        ------------------------------------------
        openssl.base     1.0.1.500     1.0.1.513
        openssl.base     0.9.8.401     0.9.8.2504
        openssl.base    12.9.8.1100   12.9.8.2504

	Note, 0.9.8.401 and 12.9.8.1100 are the Lowest OpenSSL version
	available in aix web download site. Even OpenSSL versions below 
	this are impacted


IV. SOLUTIONS

    A. FIXES

        Fix is available.  The fix can be downloaded via ftp
        from:

        ftp://aix.software.ibm.com/aix/efixes/security/openssl_fix12.tar

        The link above is to a tar file containing this signed
        advisory, fix packages, and OpenSSL signatures for each package.
        The fixes below include prerequisite checking. This will
        enforce the correct mapping between the fixes and AIX
        releases.

	Note that the tar file contains Interim fixes that are based on OpenSSL version.

        AIX Level      Interim Fix (*.Z)            Fileset Name(prereq for installation)
        ---------------------------------------------------------------------------------
        5.3, 6.1, 7.1   IV69033s9a.150129.epkg.Z    openssl.base(1.0.1.513 version)
        5.3, 6.1, 7.1   IV69033s9b.150129.epkg.Z    openssl.base(0.9.8.2504 version)
        5.3, 6.1, 7.1   IV69033s9c.150129.epkg.Z    openssl.base(12.9.8.2504 version)

        VIOS Level     Interim Fix (*.Z)	        Fileset Name(prereq for installation)
        -------------------------------------------------------------------------------------
        2.2.*          IV69033s9a.150129.epkg.Z     openssl.base(1.0.1.513 version)
        2.2.*          IV69033s9b.150129.epkg.Z     openssl.base(0.9.8.2504 version)
        2.2.*          IV69033s9c.150129.epkg.Z     openssl.base(12.9.8.2504 version)


        To extract the fix from the tar file:

        tar xvf openssl_fix12.tar
        cd openssl_fix12

        Verify you have retrieved the fix intact:

        The checksums below were generated using the
        "openssl dgst -sha256 file" command is the followng:

        openssl dgst -sha256         						                filename	 
        ----------------------------------------------------------------------------------------------
    	ba67b128e22ca028756100a473137b64cd8758c8182e4cda8bc3293b69cb53ba        IV69033s9a.150129.epkg.Z
        1c244927ae807d9c55dee91366ac88488a1312103a19f3017758989f91759f48        IV69033s9b.150129.epkg.Z
	    361e751b0ce323b57b8865fca66e90f0dc541857a04b4c67f55874b01e98fffb        IV69033s9c.150129.epkg.Z

	    These sums should match exactly. The OpenSSL signatures in the tar
        file and on this advisory can also be used to verify the
        integrity of the fixes.  If the sums or signatures cannot be
        confirmed, contact IBM AIX Security at
        security-alert@austin.ibm.com and describe the discrepancy.
            
        Published advisory OpenSSL signature file location:

        http://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc.sig
        https://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc.sig
        ftp://aix.software.ibm.com/aix/efixes/security/openssl_advisory12.asc.sig       

	openssl dgst -sha1 -verify <pubkey_file> -signature <advisory_file>.sig <advisory_file>

        openssl dgst -sha1 -verify <pubkey_file> -signature <ifix_file>.sig <ifix_file>

            
    B. FIX AND INTERIM FIX INSTALLATION

        IMPORTANT: If possible, it is recommended that a mksysb backup
        of the system be created.  Verify it is both bootable and
        readable before proceeding.

        To preview a fix installation:

        installp -a -d fix_name -p all  # where fix_name is the name of the
                                        # fix package being previewed.
        To install a fix package:

        installp -a -d fix_name -X all  # where fix_name is the name of the
                                        # fix package being installed.

        Interim fixes have had limited functional and regression
        testing but not the full regression testing that takes place
        for Service Packs; however, IBM does fully support them.

        Interim fix management documentation can be found at:

        http://www14.software.ibm.com/webapp/set2/sas/f/aix.efixmgmt/home.html

        To preview an interim fix installation:

        emgr -e ipkg_name -p         # where ipkg_name is the name of the
                                     # interim fix package being previewed.

        To install an interim fix package:

        emgr -e ipkg_name -X         # where ipkg_name is the name of the
                                     # interim fix package being installed.


V. WORKAROUNDS
 
    No workarounds.

VI. CONTACT US:

    If you would like to receive AIX Security Advisories via email,
    please visit "My Notifications":

        http://www.ibm.com/support/mynotifications

    To view previously issued advisories, please visit:

        http://www14.software.ibm.com/webapp/set2/subscriptions/onvdq
 
    Comments regarding the content of this announcement can be
    directed to:

        security-alert@austin.ibm.com

    To obtain the OpenSSL public key that can be used to verify the
    signed advisories and ifixes:

        Download the key from our web page:

        http://www.ibm.com/systems/resources/systems_p_os_aix_security_pubkey.txt

    To obtain the PGP public key that can be used to communicate
    securely with the AIX Security Team via security-alert@austin.ibm.com you
    can either:

        A. Download the key from our web page:

            http://www.ibm.com/systems/resources/systems_p_os_aix_security_pgppubkey.txt

        B. Download the key from a PGP Public Key Server. The key ID is:

            0x28BFAA12

    Please contact your local IBM AIX support center for any
    assistance.



VII. REFERENCES:

    Note: Keywords labeled as KEY in this document are used for parsing purposes.

    eServer is a trademark of International Business Machines
    Corporation.  IBM, AIX and pSeries are registered trademarks of
    International Business Machines Corporation.  All other trademarks
    are property of their respective holders.

    Complete CVSS Guide: http://www.first.org/cvss/cvss-guide.html
    On-line Calculator V2: http://nvd.nist.gov/cvss.cfm?calculator&adv&version=2

    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99710
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99703
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99705
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99709
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99707
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99708 
    X-Force Vulnerability Database: http://xforce.iss.net/xforce/xfdb/99704
    CVE-2014-3570 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3570
    CVE-2014-3571 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3571
    CVE-2014-3572 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-3572
    CVE-2014-8275 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-8275
    CVE-2015-0204 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0204
    CVE-2015-0205 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0205
    CVE-2015-0206 : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-0206

    *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 Flash.

    Note: 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

iQIVAwUBVNQLvRLndAQH1ShLAQIEhw/7B+/g3hPSUmTXblYSmEoMg1tbNR2r4vDQ
9udqrTAbY4XW+7TH1r9rz06BxpbGjvnG5GaFkp3qXJJTzC8Fg+yDDq2zojKMK/qB
dW8gJSonHulpihFAYa0qEIRBAPCchhHpprs846rEkiU8UlBDkdcGOEo01UnvMgDx
JxKU3V03gHYY80UJAod9LD/sHBTR6Zw27eaLLTWAh/51WvOt30BOIfanbEnSPIZP
V3xUenuH1HfSn+uD9wDtafFrpTTXhpLKfvxE9CjkxwjREvKZ7F0WB9yrku6IeWAY
qCNsK0jFL4akVxNv1Z9HtoSE0pIZJ90wanIe4zCviX278Dgg4z18u8KnMIT3xJpr
FF+7BZQXJ7jnR2sul9ns6CqQJD6Gl/KCr+VcjDovy7N2yfo5V4T3LXYeaESNV+T4
IJj++aVWi9wSVv+uw4gkm0N/t3nFd9zmfTJrINk+EOxJkXvhFPMAdCs2ygyZWFo2
y88zJTyZ8otaDYvIyiQfiXEGqYEWKp3V1cQbMMQdsdc9U7UPejcAoihgePq8AJAR
eSth06HJH3YfHvsSdc7sY3RKiZgYVWXC/9MinsPvbK4Ohi64Iq9nHX5Lyvmt7igm
SMHfTQrkClIwAAbIjx+O9ioj35Slobgsv2P6d7JpCE56RkpnX8US/fNYQYKnbvYg
sAbCJMK/kxI=
=K9qY
-----END PGP SIGNATURE-----