IBM SECURITY ADVISORY First Issued: Mon Apr 27 15:27:04 CDT 2015 | Updated: Tue Dec 15 11:54:19 CST 2015 | Update: Added all information for ftpd, sendmail_ssl, imapd, and popd The most recent version of this document is available here: http://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc https://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc ftp://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc Security Bulletin: Vulnerability in RC4 stream cipher affects AIX (CVE-2015-2808) =============================================================================== SUMMARY: The RC4 .Bar Mitzvah. Attack for SSL/TLS affects IBM Tivoli/Security | Directory Server, IBM SDK for Java, IBM SDK for Node.js, ftpd, sendmail | when using the sendmail_ssl binary, imapd, and popd on AIX. =============================================================================== VULNERABILITY DETAILS: CVEID: CVE-2015-2808 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-2808 DESCRIPTION: The RC4 algorithm, as used in the TLS protocol and SSL protocol, could allow a remote attacker to obtain sensitive information. An attacker could exploit this vulnerability to remotely expose account credentials without requiring an active man-in-the-middle session. Successful exploitation could allow an attacker to retrieve credit card data or other sensitive information. This vulnerability is commonly referred to as "Bar Mitzvah Attack". CVSS: CVSS Base Score: 5 CVSS Temporal Score: See https://exchange.xforce.ibmcloud.com/vulnerabilities/101851 for the current score CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:N/A:N) AFFECTED PRODUCTS AND VERSIONS: AIX 5.3, 6.1, 7.1 VIOS 2.2.x | The following versions of IBM Tivoli Directory Server and IBM | Security Directory Server are vulnerable: | IBM Tivoli Directory Server 6.0, 6.1, 6.2, 6.3 | IBM Security Directory Server 6.3.1, 6.4 | Note: to find out whether the affected IBM Tivoli Directory | Server and IBM Security Directory Server are installed on your | systes, use the following command: | /usr/bin/ibmslapd -v The following versions of IBM SDK for Node.js are vulnerable: IBM SDK for Node.js v1.1.0.13 and previous releases. The following fileset levels (VRMF) are vulnerable, if the respective Java version is installed: For Java5: Less than or equal to 5.0.0.590 For Java6: Less than or equal to 6.0.0.470 For Java7: Less than or equal to 7.0.0.195 For Java7.1: Less than or equal to 7.1.0.75 Note: to find out whether the affected Java filesets are installed on your systems, refer to the lslpp command found in AIX user's guide. Example: lslpp -L | grep -i java | The following fileset levels are vulnerable: | AIX Fileset Lower Level Upper Level KEY | -------------------------------------------------------- | bos.net.tcp.client 6.1.0.0 6.1.8.19 key_w_fs | bos.net.tcp.client 6.1.0.0 6.1.9.45 key_w_fs | bos.net.tcp.client 7.1.0.0 7.1.2.19 key_w_fs | bos.net.tcp.client 7.1.0.0 7.1.3.45 key_w_fs | bos.net.tcp.server 6.1.0.0 6.1.8.18 key_w_fs | bos.net.tcp.server 6.1.0.0 6.1.9.45 key_w_fs | bos.net.tcp.server 7.1.0.0 7.1.2.18 key_w_fs | bos.net.tcp.server 7.1.0.0 7.1.3.45 key_w_fs | AIX Fileset (VIOS) Lower Level Upper Level | ------------------------------------------------------------ | bos.net.tcp.client 6.1.0.0(2.2.0.0) 6.1.8.19(2.2.2.6) | bos.net.tcp.client 6.1.0.0(2.2.0.0) 6.1.9.48(2.2.3.50) | bos.net.tcp.server 6.1.0.0(2.2.0.0) 6.1.8.18(2.2.2.6) | bos.net.tcp.server 6.1.0.0(2.2.0.0) 6.1.9.45(2.2.3.50) | Note: to find out whether the affected filesets are installed | on your systems, refer to the lslpp command found in AIX user's guide. | Example: lslpp -L | grep -i bos.net.tcp.client REMEDIATION: IBM SDK for Java (see Workarounds and Mitigations for Java 7.0 and 7.1 releases): IBM SDK, Java Technology Edition, Version 5.0 Service Refresh 16 Fix Pack 9 and later: 32-bit: https://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~WebSphere&product=ibm/IBM+SDKs+for+Java+Technology/Java+Standard+Edition+%28Java+SE%29&release=5.0.0.0&platform=AIX+32-bit,+pSeries&function=all 64-bit: https://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~WebSphere&product=ibm/IBM+SDKs+for+Java+Technology/Java+Standard+Edition+%28Java+SE%29&release=5.0.0.0&platform=AIX+64-bit,+pSeries&function=all IBM SDK, Java Technology Edition, Version 6 Service Refresh 16 Fix Pack 3 and later: 32-bit: https://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~WebSphere&product=ibm/IBM+SDKs+for+Java+Technology/Java+Standard+Edition+%28Java+SE%29&release=6.0.0.0&platform=AIX+32-bit,+pSeries&function=all 64-bit: https://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~WebSphere&product=ibm/IBM+SDKs+for+Java+Technology/Java+Standard+Edition+%28Java+SE%29&release=6.0.0.0&platform=AIX+64-bit,+pSeries&function=all IBM SDK for Node.js: IBM SDK for Node.js, v1.1.0.14 and later: http://www.ibm.com/developerworks/web/nodesdk/ | IBM Tivoli/Security Directory Server: | Please see: | https://www-01.ibm.com/support/docview.wss?uid=swg21883604 | A. APARS | IBM has assigned the following APARs to this problem: | For ftpd: | AIX Level APAR Availability SP KEY PRODUCT(S) | ------------------------------------------------------------ | 6.1.8 IV74915 9/30/15 SP7 key_w_apar ftpd | 6.1.9 IV74916 12/04/15 SP6 key_w_apar ftpd | 7.1.2 IV74917 9/30/15 SP7 key_w_apar ftpd | 7.1.3 IV74458 2/26/16 SP6 key_w_apar ftpd | Subscribe to the APARs here: | http://www.ibm.com/support/docview.wss?uid=isg1IV74458 | http://www.ibm.com/support/docview.wss?uid=isg1IV74915 | http://www.ibm.com/support/docview.wss?uid=isg1IV74916 | http://www.ibm.com/support/docview.wss?uid=isg1IV74917 | For sendmail: | Please note that these only apply to the SSL-enabled | sendmail binary, /usr/sbin/sendmail_ssl. | AIX Level APAR Availability SP KEY PRODUCT(S) | ------------------------------------------------------------ | 6.1.8 IV74919 9/30/15 SP7 key_w_apar sendmail | 6.1.9 IV74920 12/04/15 SP6 key_w_apar sendmail | 7.1.2 IV74921 9/30/15 SP7 key_w_apar sendmail | 7.1.3 IV74922 2/26/16 SP6 key_w_apar sendmail | Subscribe to the APARs here: | http://www.ibm.com/support/docview.wss?uid=isg1IV74919 | http://www.ibm.com/support/docview.wss?uid=isg1IV74920 | http://www.ibm.com/support/docview.wss?uid=isg1IV74921 | http://www.ibm.com/support/docview.wss?uid=isg1IV74922 | For imapd and popd: | AIX Level APAR Availability SP KEY PRODUCT(S) | ------------------------------------------------------------ | 6.1.8 IV74926 9/30/15 SP7 key_w_apar imapd/popd | 6.1.9 IV74927 12/04/15 SP6 key_w_apar imapd/popd | 7.1.2 IV74928 9/30/15 SP7 key_w_apar imapd/popd | 7.1.3 IV74929 2/26/16 SP6 key_w_apar imapd/popd | Subscribe to the APARs here: | http://www.ibm.com/support/docview.wss?uid=isg1IV74926 | http://www.ibm.com/support/docview.wss?uid=isg1IV74927 | http://www.ibm.com/support/docview.wss?uid=isg1IV74928 | http://www.ibm.com/support/docview.wss?uid=isg1IV74929 | 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 | Fixes are available. The fixes can be downloaded via ftp or | http from: | ftp://aix.software.ibm.com/aix/efixes/security/rc4_fix.tar | http://aix.software.ibm.com/aix/efixes/security/rc4_fix.tar | https://aix.software.ibm.com/aix/efixes/security/rc4_fix.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. | For ftpd: | AIX Level Interim Fix (*.Z) KEY PRODUCT(S) | ---------------------------------------------------------- | 6.1.8.6 IV74915m6a.150727.epkg.Z key_w_fix ftpd | 6.1.9.5 IV74916m5a.150727.epkg.Z key_w_fix ftpd | 7.1.2.6 IV74917m6a.150727.epkg.Z key_w_fix ftpd | 7.1.3.5 IV74458m5a.150727.epkg.Z key_w_fix ftpd | VIOS Level Interim Fix (*.Z) KEY PRODUCT(S) | ----------------------------------------------------------- | 2.2.2.6 IV74915m6a.150727.epkg.Z key_w_fix ftpd | 2.2.3.50 IV74916m5a.150727.epkg.Z key_w_fix ftpd | For sendmail: | Please note that these only apply to the SSL-enabled | sendmail binary, /usr/sbin/sendmail_ssl. | AIX Level Interim Fix (*.Z) KEY PRODUCT(S) | ---------------------------------------------------------- | 6.1.8.6 IV74919m6a.150713.epkg.Z key_w_fix sendmail | 6.1.9.5 IV74920m5a.150713.epkg.Z key_w_fix sendmail | 7.1.2.6 IV74921m6a.150713.epkg.Z key_w_fix sendmail | 7.1.3.5 IV74922m5a.150713.epkg.Z key_w_fix sendmail | VIOS Level Interim Fix (*.Z) KEY PRODUCT(S) | ----------------------------------------------------------- | 2.2.2.6 IV74919m6a.150713.epkg.Z key_w_fix sendmail | 2.2.3.50 IV74920m5a.150713.epkg.Z key_w_fix sendmail | For imapd and popd: | AIX Level Interim Fix (*.Z) KEY PRODUCT(S) | ---------------------------------------------------------- | 6.1.8.6 IV74926m6a.150711.epkg.Z key_w_fix imapd/popd | 6.1.9.5 IV74927m5a.150711.epkg.Z key_w_fix imapd/popd | 7.1.2.6 IV74928m6a.150710.epkg.Z key_w_fix imapd/popd | 7.1.3.5 IV74929m5a.150711.epkg.Z key_w_fix imapd/popd | VIOS Level Interim Fix (*.Z) KEY PRODUCT(S) | ----------------------------------------------------------- | 2.2.2.6 IV74926m6a.150711.epkg.Z key_w_fix imapd/popd | 2.2.3.50 IV74927m5a.150711.epkg.Z key_w_fix imapd/popd | To extract the fixes from the tar file: | tar xvf rc4_fix.tar | cd rc4_fix | Verify you have retrieved the fixes intact: | The checksums below were generated using the | "openssl dgst -sha256 file" command as the followng: | For ftpd: | openssl dgst -sha256 filename KEY | ----------------------------------------------------------------------------------------------------- | c1543420724f37165dfbe745408d82ac78b06d7a790b3f58333cd7e69ae6774c IV74915m6a.150727.epkg.Z key_w_csum | bb0d0d24aa68dfdc5ac53a1db9b658715a5c5bec7fab677b58310c2883699017 IV74916m5a.150727.epkg.Z key_w_csum | acbd7f5345d045d0aebad3530203529273cd441c7c1d47ceef7df640ab0e7810 IV74917m6a.150727.epkg.Z key_w_csum | 7115f3e89496a14ddf014d1a628dc061dfd2eb101672a745f272bbc2b6e58665 IV74458m5a.150727.epkg.Z key_w_csum | For sendmail: | openssl dgst -sha256 filename KEY | ----------------------------------------------------------------------------------------------------- | 243685a7a79c21a6536ddb0bc876b0574ece6c1cabde5c1a20a6d8e7ac853ece IV74919m6a.150713.epkg.Z key_w_csum | d23438abe8c731fa16b4743dc43520495ebb14b2bc59fd1a6f94f33c91a2da1c IV74920m5a.150713.epkg.Z key_w_csum | 259f34fecb2e97bd7ab794aba4cd7a31aa1cc2507fd06daa983da959f5d02826 IV74921m6a.150713.epkg.Z key_w_csum | 5fb08f96e8f0efec5f6c8e78644a95999b58025a09fc23729f35a4c1c58fcf55 IV74922m5a.150713.epkg.Z key_w_csum | For imapd and popd: | openssl dgst -sha256 filename KEY | ----------------------------------------------------------------------------------------------------- | c358d14907aa573228a99323d8a96a50ad5b221a5a18d3193de5d3b9d4e41c1f IV74926m6a.150711.epkg.Z key_w_csum | 9ac9f6867b5fc16f7efd8700dc367bd135c41e3a33014fe6191f0f79523817ea IV74927m5a.150711.epkg.Z key_w_csum | 30850104c99159010858d4e0f2953d1904bd6b20364698187e7092e16fca44a4 IV74928m6a.150710.epkg.Z key_w_csum | 15b68fb4e9cc11362f021eb6a08b380e6d7b68cf85ca67b273b1f4d09b2c3b8d IV74929m5a.150711.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 -signature .sig | openssl dgst -sha1 -verify -signature .sig | Published advisory OpenSSL signature file location: | http://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc.sig | https://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc.sig | ftp://aix.software.ibm.com/aix/efixes/security/rc4_advisory.asc.sig | 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. | 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. You should verify applying these fixes do not cause any compatibility issues. The fix disables RC4 stream cipher by default. If you change this setting you will expose yourself to the attack described above. IBM recommends that you review your entire environment to identify other areas where you have enabled the RC4 stream cipher and take appropriate mitigation and remediation actions. WORKAROUNDS AND MITIGATIONS: For Java 7.0 and 7.1: 1. Disabling RC4. The can be achieved by adding RC4 to the list of disabled algorithms defined by the jdk.tls.disabledAlgorithms security property in java.security file. 2. Not explicit enabling the RC4 cipher suite(s). 3. For HttpsURLConnection, set https.cipherSuites system property to not include RC4 cipher suites. 4. Configure to be in FIPS 140-2, Suite B or SP800-131a transition or strict compliance You should verify applying this configuration change does not cause any compatibility issues. Not disabling the RC4 stream cipher will expose yourself to the attack described above. IBM recommends that you review your entire environment to identify other areas where you have enabled the RC4 stream cipher and take appropriate mitigation and remediation actions. =============================================================================== 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. 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 ACKNOWLEDGEMENTS: None. CHANGE HISTORY: First Issued: Mon Apr 27 15:27:04 CDT 2015 Updated: Wed Apr 29 08:34:13 CDT 2015 Update: Clarified that IBM Tivoli/Security Directory Server on AIX is vulnerable. | Updated: Tue Dec 15 11:54:19 CST 2015 | Update: Added all information for ftpd, sendmail_ssl, imapd, and popd =============================================================================== *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.