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

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

                               ESB-2014.0992
             Network Time Protocol (NTP) vulnerability in AIX
                               17 June 2014

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

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

Product:           ntpd
Publisher:         IBM
Operating System:  AIX
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2013-5211  

Reference:         ESB-2014.0334.3
                   ESB-2014.0123.2
                   ESB-2014.0055

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

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

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


IBM SECURITY ADVISORY

First Issued: Thu Jun 12 16:24:51 CDT 2014

The most recent version of this document is available here:

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

===============================================================================
                           VULNERABILITY SUMMARY

VULNERABILITY:   Network Time Protocol (NTP) vulnerability in AIX

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

SOLUTION:        Apply the fix as described below.

THREAT:          See below

CVE Numbers:     CVE-2013-5211 CVSS=5.0

Reboot required?    NO
Workarounds?        YES

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

I. DESCRIPTION 
   
    The monlist feature in ntpd in NTP allows remote attackers to
    cause a denial of service (traffic amplification) via forged
    (1) REQ_MON_GETLIST or (2) REQ_MON_GETLIST_1 requests.

II. CVSS

    CVSS Base Score: 5.0
    CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/90143 for the current score
    CVSS Environmental Score*: Undefined
    CVSS String: (AV:N/AC:L/Au:N/C:N/I:N/A:P)

III. PLATFORM VULNERABILITY ASSESSMENT

    The following fileset levels are vulnerable:

    NTPv3:

    AIX Fileset         Lower Level  Upper Level   KEY
    -------------------------------------------------------
    bos.net.tcp.client  5.3.12.0     5.3.12.10     key_w_fs
    bos.net.tcp.client  6.1.7.0      6.1.7.20      key_w_fs
    bos.net.tcp.client  6.1.8.0      6.1.8.17      key_w_fs
    bos.net.tcp.client  6.1.9.0      6.1.9.1       key_w_fs 
    bos.net.tcp.client  7.1.1.0      7.1.1.20      key_w_fs
    bos.net.tcp.client  7.1.2.0      7.1.2.17      key_w_fs
    bos.net.tcp.client  7.1.3.0      7.1.3.2       key_w_fs

    AIX Fileset (VIOS)  Lower Level         Upper Level
    ---------------------------------------------------------
    bos.net.tcp.client  6.1.7.0(2.2.1.0)    6.1.7.20(2.2.1.8)
    bos.net.tcp.client  6.1.8.0(2.2.2.0)    6.1.8.17(2.2.2.4)
    bos.net.tcp.client  6.1.9.0(2.2.3.0)    6.1.9.1 (2.2.3.2)

    NTPv4:

    AIX Fileset         Lower Level   Upper Level   KEY
    --------------------------------------------------------
    ntp.rte             6.1.6.0       6.1.6.1       key_w_fs
    ntp.rte             7.1.0.0       7.1.0.1       key_w_fs

    AIX Fileset (VIOS)  Lower Level         Upper Level
    --------------------------------------------------------
    ntp.rte             6.1.6.0(2.2.1.0)    6.1.6.1(2.2.1.8)
    ntp.rte             6.1.6.0(2.2.2.0)    6.1.6.1(2.2.2.4)
    ntp.rte             6.1.6.0(2.2.3.0)    6.1.6.1(2.2.3.2)

    NOTE: To find out whether the affected filesets are installed on your
    systems, refer to the lslpp command found in AIX user's guide.

IV. SOLUTIONS

    A. APARS

        IBM has assigned the following APARs to the problem:

        NOTE: APARs are only applicable to NTPv3. For NTPv4 refer to steps mentioned
        in FIXES section under NTPv4 heading below.

        AIX Level        APAR number     Availability      KEY
        -------------------------------------------------------------
        5.3.12           IV59636         NOW (ifix only)   key_w_apar
        6.1.7            IV58413         08/29/2014 SP10   key_w_apar
        6.1.8            IV58068         08/29/2014 SP5    key_w_apar
        6.1.9            IV56213         NOW SP3           key_w_apar
        7.1.1            IV56575         08/29/2014 SP10   key_w_apar
        7.1.2            IV55365         08/29/2014 SP5    key_w_apar
        7.1.3            IV56324         NOW SP3           key_w_apar

        VIOS Level       APAR number     Availability
        ---------------------------------------------------
        2.2.1            IV58413         08/29/2014 2.2.1.9
        2.2.2            IV58068         08/29/2014 2.2.2.5
        2.2.3            IV56213         08/29/2014 2.2.2.5

        Subscribe to the APARs here:

        http://www.ibm.com/support/docview.wss?uid=isg1IV59636
        http://www.ibm.com/support/docview.wss?uid=isg1IV58413
        http://www.ibm.com/support/docview.wss?uid=isg1IV58068
        http://www.ibm.com/support/docview.wss?uid=isg1IV56213
        http://www.ibm.com/support/docview.wss?uid=isg1IV56575
        http://www.ibm.com/support/docview.wss?uid=isg1IV55365
        http://www.ibm.com/support/docview.wss?uid=isg1IV56324

        By subscribing, you will receive periodic email alerting you
        to the status of the APAR, and a link to download the fix once
        it becomes available.

    B. FIXES

        NTPv3 (Network Time Protocol Version 3)
        =======================================

        Fixes for NTPv3 are available.  The fixes can be downloaded via ftp
        from:

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

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

        AIX Level   Interim Fix (*.Z)            KEY
        --------------------------------------------------
        5.3.12.9    IV59636s9a.140423.epkg.Z     key_w_fix
        6.1.7.9     IV58413s9a.140421.epkg.Z     key_w_fix
        6.1.8.4     IV58068s4a.140421.epkg.Z     key_w_fix
        6.1.9.2     IV56213s1a.140421.epkg.Z     key_w_fix
        7.1.1.9     IV56575s9a.140421.epkg.Z     key_w_fix
        7.1.2.4     IV55365s4a.140421.epkg.Z     key_w_fix
        7.1.3.2     IV56324s2a.140522.epkg.Z     key_w_fix

        VIOS Level  Interim Fix (*.Z)
        ------------------------------------
        2.2.1.8     IV58413s9a.140421.epkg.Z
        2.2.2.4     IV58068s4a.140421.epkg.Z
        2.2.3.2     IV56213s1a.140421.epkg.Z

        To extract the fixes from the tar file:
        tar xvf ntp_ifix.tar 
        cd ntp_ifix

        Verify you have retrieved the fixes intact:

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

        openssl dgst -sha256                                             filename                 KEY
        ----------------------------------------------------------------------------------------------------
        ed2aa3b4f2076fd24808e20ef32ff7ee70d2c0ff39092954045ef7163b80541a IV59636s9a.140423.epkg.Z key_w_csum
        a319f02951cbb95a028f75de2548df53c8ad159383b67df5264f8c25fc202cc5 IV58413s9a.140421.epkg.Z key_w_csum
        3cdd922dae20c9ffab304badbbe6f8fd893bc057515ecc860aa5afca8867261f IV58068s4a.140421.epkg.Z key_w_csum
        014f4cf77b7c3dd0ad94191211da197c6be5b900224db1ec25f5b5bf3506f690 IV56213s1a.140421.epkg.Z key_w_csum
        4de291d684a6eec060398086637d0fe7441aaa2e84618313d4662f2ed564a879 IV56575s9a.140421.epkg.Z key_w_csum
        649feede9f57aa537b09f350cddbcc1d7a16b782a935bc7a5b4ffbd47bce7fb3 IV55365s4a.140421.epkg.Z key_w_csum
        8ec8d0ed64d21642a9d95e43545daca1d9ac910730ee351a3d01fbd5d30c8acd IV56324s2a.140522.epkg.Z key_w_csum

        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.

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

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

        NTPv4 (Network Time Protocol Version 4)
        =======================================

        A fix is available, and it can be downloaded from:

        https://www14.software.ibm.com/webapp/iwm/web/reg/download.do?source=aixbp&lang=en_US&S_PKG=NTPv4&cp=UTF-8

    C. 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.

        NTPv3 (Network Time Protocol Version 3)
        =======================================

        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.

        NTPv4 (Network Time Protocol Version 4) AIX 6.1
        ===============================================

        NTPv4 Install images v6.1.6.2 for AIX 6.1 ntp4-6.1.6.2.tar

    	To extract the fixes from the tar file 
    	tar -xvf ntp4-6.1.6.2.tar

        To preview the fix installation:

        cd ntp4-6.1.6.2
        installp -apYd . ntp

        To install the fix package:

        cd ntp4-6.1.6.2
        installp -aXYd . ntp
    
        For NTPv4 use on AIX 6.1, please follow steps in link 

        http://publib.boulder.ibm.com/infocenter/aix/v6r1/topic/com.ibm.aix.files/doc/aixfiles/ntp.htm?resultof=%22%6e%74%70%34%22%20

        IMPORTANT: The fix will not take affect until any running xntpd
        servers have been stopped and restarted with the following
        commands:
 
        stopsrc -s xntpd
        startsrc -s xntpd

        NTPv4 (Network Time Protocol Version 4) AIX 7.1
        ===============================================

        NTPv4 Install images v7.1.0.2 for AIX 7.1 ntp4-7.1.0.2.tar

        To extract the fixes from the tar file  
					
    	tar -xvf ntp4-7.1.0.2.tar
	
        To preview the fix installation:

        cd ntp4-7.1.0.2
        installp -apYd . ntp

        To install the fix package:

        cd ntp4-7.1.0.2
        installp -aXYd . ntp
        
        For NTPv4 use on AIX 7.1, please follow steps in link 

        http://publib.boulder.ibm.com/infocenter/aix/v7r1/topic/com.ibm.aix.files/doc/aixfiles/ntp.htm?resultof=%22%6e%74%70%34%22%20

        IMPORTANT: The fix will not take affect until any running xntpd
        servers have been stopped and restarted with the following
        commands:
 
        stopsrc -s xntpd
        startsrc -s xntpd

V. WORKAROUNDS

    Use noquery in your default restrictions to block all status queries.

    Or

    Use disable monitor to disable the ntpdc -c monlist command while still 
    allowing other status queries.  

VI. CONTACT INFORMATION

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

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

    and click on the "My notifications" link.

    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_pgpkey.txt

    To obtain the PGP public key that can be used to communicate
    securely with the AIX Security Team you can either:

        A. Send an email with "get key" in the subject line to:

            security-alert@austin.ibm.com

        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. ACKNOWLEDGMENTS:

    IBM discovered and fixed this vulnerability as part of its
    commitment to secure the AIX operating system.

VIII. REFERENCES:

    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/
    CVE-2013-5211: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-5211

    *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.
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (AIX)

iEYEARECAAYFAlOaGyEACgkQ4fmd+Ci/qhKf9ACeN5Jofry+Vucm+g2tADJX72je
iigAn1qGC/N5G7d9E7jkl4lro9eTd3JH
=HgBq
- -----END PGP SIGNATURE-----

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

iQIVAwUBU5+/HRLndAQH1ShLAQKIfg//RI1K4ha5XYbY8hV5Ix8vXPrR03coc6GM
O1dg3di8BDWjRt5UFSLhw97o0VDVYG8npymeUrmG6gI9I62F3XHvO1LUa2nk7Lv0
fYraCBj7S6lkNxt26V6WJsXhtdL7C4Qwl/43e6dLO/yTMLAQeM1RR8NDFcZKOavk
w1IC1j7Tn9gqelN72WsWbprywLAQuBXtryGYm4WUVunqRzKKPEl02lWCBpfNtard
UZValZZW1u7+MXfyqSnWxrkUq8SbvIHBANy2MIjjbgQdf2wAy5Ug86J8eoivMGeZ
LSa9ik4tAp01IE2UreCAcfHgmi7g9+NbzXXC6GyCViC8nkuXefJ6OsGdTaYY1wqV
xfVBzWSlYW3NMG8IEUB32s8cMVmHmrj6LQbAZGgB0gPlzaaiW+/4w6PrTT5w8TIu
Vc6OBlL85JRviYbwbSEnHWouhv3fGPF3/BJAoFGeeLIfQbFrJ5349Afy8Xm2Ao7g
Xiy//FyEpj2+/TQtmrt1i3mqCbh+30ZlurOhu4ekm5H8tcjiMeR5pQJY6JvFEL15
4Senhc8h8RPSoJ/urXaddNf/DWRcC43n4KP2PovDLeS22B1uBgu26OvHNtpqD+9v
zwfr3KkL5DZ+0Cxm6+5FeODnGrS0NzlB4h08DlW7eKjVHARrROF89iTwVYUqTPnz
B4MFWr7h3DQ=
=gCA/
-----END PGP SIGNATURE-----