Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2015.0341 Network Time Protocol (NTP) vulnerability in AIX 11 February 2015 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Network Time Protocol (NTP) Publisher: IBM Operating System: AIX Impact/Access: Execute Arbitrary Code/Commands -- Remote/Unauthenticated Reduced Security -- Existing Account Resolution: Patch/Upgrade CVE Names: CVE-2014-9295 CVE-2014-9294 CVE-2014-9293 Reference: ASB-2015.0003 ASB-2014.0145 ESB-2015.0207 ESB-2015.0141 ESB-2015.0029 ESB-2015.0008 ESB-2015.0006 ESB-2014.2519 ESB-2014.2497 ESB-2014.2476 ESB-2014.2473 ESB-2014.2472 Original Bulletin: http://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc - --------------------------BEGIN INCLUDED TEXT-------------------- IBM SECURITY ADVISORY First Issued: Tue Feb 10 12:06:45 CST 2015 The most recent version of this document is available here: http://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc https://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc ftp://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.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 CVE-2014-9294 CVSS=5.0 CVE-2014-9295 CVSS=7.5 Reboot required? NO Workarounds? Yes =============================================================================== DETAILED INFORMATION I. DESCRIPTION CVE-2014-9293 If no authentication key is defined in the ntp.conf file, a cryptographically-weak default key is generated. CVE-2014-9294 ntp-keygen before 4.2.7p230 uses a non-cryptographic random number generator with a weak seed to generate symmetric keys. CVE-2014-9295 A remote unauthenticated attacker may craft special packets that trigger buffer overflow. II. CVSS CVE-2014-9293 CVSS Base Score: 5.0 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/99576 CVSS Environmental Score*: Undefined CVSS String: AV:N/AC:L/Au:N/C:N/I:P/A:N CVE-2014-9293 CVSS Base Score: 5.0 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/99577 CVSS Environmental Score*: Undefined CVSS String: AV:N/AC:L/Au:N/C:N/I:P/A:N CVE-2014-9295 CVSS Base Score: 7.5 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/99578 CVSS Environmental Score*: Undefined CVSS String: AV:N/AC:L/Au:N/C:P/I:P/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.8.0 6.1.8.18 key_w_fs bos.net.tcp.client 6.1.9.0 6.1.9.30 key_w_fs bos.net.tcp.client 7.1.2.0 7.1.2.18 key_w_fs bos.net.tcp.client 7.1.3.0 7.1.3.30 key_w_fs AIX Fileset (VIOS) Lower Level Upper Level --------------------------------------------------------- bos.net.tcp.client 6.1.8.0(2.2.2.0) 6.1.8.18(2.2.2.5) bos.net.tcp.client 6.1.9.0(2.2.3.0) 6.1.9.30(2.2.3.4) NTPv4: AIX Fileset Lower Level Upper Level KEY -------------------------------------------------------- ntp.rte 6.1.6.0 6.1.6.2 key_w_fs ntp.rte 7.1.0.0 7.1.0.2 key_w_fs AIX Fileset (VIOS) Lower Level Upper Level -------------------------------------------------------- ntp.rte 6.1.6.0(2.2.2.0) 6.1.6.2(2.2.2.5) ntp.rte 6.1.6.0(2.2.3.0) 6.1.6.2(2.2.3.4) NOTE: To find out whether the affected filesets are installed on your systems, refer to the lslpp command found in AIX user's guide. Note: To use the following commands on VIOS you must first execute: oem_setup_env To determine if NTPv3 on your system is vulnerable, execute the following command: lslpp -L bos.net.tcp.client To determine if NTPv4 on your system is vulnerable, execute the following command: lslpp -L ntp.rte NOTE: NTPv4 exists on AIX release version 6.1 and 7.1 only. 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 IV68427 NOW (ifix-only) key_w_apar 6.1.8 IV68426 09/30/2015 SP7 key_w_apar 6.1.9 IV68428 05/29/2015 SP5 key_w_apar 7.1.2 IV68429 09/30/2015 SP6 key_w_apar 7.1.3 IV68430 05/29/2015 SP5 key_w_apar VIOS Level APAR number Availability --------------------------------------------------- 2.2.2 IV68426 09/30/2015 2.2.2.7 2.2.3 IV68428 05/29/2015 2.2.3.5 Subscribe to the APARs here: http://www.ibm.com/support/docview.wss?uid=isg1IV68427 http://www.ibm.com/support/docview.wss?uid=isg1IV68426 http://www.ibm.com/support/docview.wss?uid=isg1IV68428 http://www.ibm.com/support/docview.wss?uid=isg1IV68429 http://www.ibm.com/support/docview.wss?uid=isg1IV68430 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. NOTE: APARs are only applicable to NTPv3. For NTPv4 steps mentioned in FIXES section under NTPv4 heading will suffice. 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_fix2.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 Technology Levels. AIX Level Interim Fix (*.Z) KEY -------------------------------------------------- 5.3.12.9 IV68427m9a.150203.epkg.Z key_w_fix 6.1.8.5 IV68426m5b.150204.epkg.Z key_w_fix 6.1.9.4 IV68428s4a.150109.epkg.Z key_w_fix 7.1.2.5 IV68429m5b.150204.epkg.Z key_w_fix 7.1.3.4 IV68430s4a.150109.epkg.Z key_w_fix VIOS Level Interim Fix (*.Z) ------------------------------------ 2.2.2.5 IV68426m5b.150204.epkg.Z 2.2.3.4 IV68428s4a.150109.epkg.Z To extract the fixes from the tar file: tar xvf ntp_fix2.tar cd ntp_ifix2 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 ---------------------------------------------------------------------------------------------------- 0938352f46368612abf5e932184995c65a25239f9b2a0dbe1702964a58a96cbe IV68427m9a.150203.epkg.Z key_w_csum 6b6da091ace27bcccfa1988bb089d56f69f2044fdb60431972f17639a51218db IV68426m5b.150204.epkg.Z key_w_csum 32e398506a9ed51265ce8014a7903032d545d0ce0c928a25347df7f136b44225 IV68428s4a.150109.epkg.Z key_w_csum 09ac275b942bfb4baf1515ee70c601aaf5156439180c272cb0aa9f73e00c91db IV68429m5b.150204.epkg.Z key_w_csum 76305e0993443ed212ac752c6d29323d222f2de574afd61d60aa227376107296 IV68430s4a.150109.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 <ifix_file>.sig <ifix_file> openssl dgst -sha1 -verify <pubkey_file> -signature <advisory_file>.sig <advisory_file> Published advisory OpenSSL signature file location: http://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc.sig https://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc.sig ftp://aix.software.ibm.com/aix/efixes/security/ntp_advisory2.asc.sig 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 =============================================== NTP4 Install images v6.1.6.3 for AIX 6.1 ntp4-6.1.6.3.tar To extract the fixes from the tar file tar -xvf ntp4-6.1.6.3.tar To preview the fix installation: cd ntp4-6.1.6.3 installp -apYd . ntp To install the fix package: cd ntp4-6.1.6.3 installp -aXYd . ntp Now to use NTPv4 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 =============================================== NTP4 Install images v7.1.0.3 for AIX 7.1 ntp4-7.1.0.3.tar To extract the fixes from the tar file tar xvf ntp4-7.1.0.3.tar To preview the fix installation: cd ntp4-7.1.0.3 installp -apYd . ntp To install the fix package: cd ntp4-7.1.0.3 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 Put restrict ... noquery in your ntp.conf file, for non-trusted senders. 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_pubkey.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 CVE-2014-9294: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9294 CVE-2014-9295: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-9295 *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 iQIVAwUBVNrYjxLndAQH1ShLAQJrZRAApwLj3rPGbC7QJROvAvTgRAYjGkgmCMFb Cdf5jGUCqfWfMiwpzOW9v2PoC2fxyQW92JCJtr8tYzy8Llc4J7MN/2zIzzCabrGP GQtjoklrdPj3wtvdE9ZgZ7mi/Dr7/G3TvjseyxXHPVjcpdsm8wcduVdD3qzWP6VN 3kSL4ugk503MKFTvgPWyXVzDaurmj0VqdhcQvGShReirbwI7TVyMlaT3jDmfDDp+ zJsB+pzXDjKnKElsBOm3/94Ko1sGRk25JG8AKsjuMHQSAvY9xaP9F+dkfrO9+iw7 CfziMbi1a/1IIU99NwKJDXREipT8wUjv8l5g+36sWeusSsCRqIOMDh0oE+98+yoh SPdTYXhkNoLBzIx/+JXxuGSdptc6hMyN7Ro7vhfv9qLFLpph5vsrHJhwTJXObs9w Ui3HQt7yUCy6DUIZBDBmRZ6rA7BwCg3fNjc/8wqlXgQEey+iAat3yc4W7B30rRFY pj8zc2jKpXgRUynsoT7CXGFowglNNC82a6mdGClHe2TdjxvRG+wCgnIGVH5Odo08 6iy8fozFxuW/ns6e81eJXKwipnBTT4CrxOHRGIFBl/Vmwx1sOIR487aG7GXlW9S4 pqDLMDV/H0ythWVSCw9G5mqq8b6y9Oc3wlajGDjFOjTpbqe9XhIHAcv9miQSCrvE 70QE41O2inU= =uTwH -----END PGP SIGNATURE-----