Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2014.2260 Security Bulletin: Multiple vulnerabilities affecting the Cordova platform and IBM SDK Node.js packaged with Rational Software Architect and Rational Software Architect for WebSphere Software 1 December 2014 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: IBM Rational Software Architect Publisher: IBM Operating System: Linux variants OS X Windows Impact/Access: Execute Arbitrary Code/Commands -- Remote/Unauthenticated Denial of Service -- Remote/Unauthenticated Access Confidential Data -- Remote/Unauthenticated Reduced Security -- Remote with User Interaction Resolution: Patch/Upgrade CVE Names: CVE-2014-7192 CVE-2014-7191 CVE-2014-5256 CVE-2014-3568 CVE-2014-3567 CVE-2014-3513 CVE-2014-3502 CVE-2014-3501 CVE-2014-3500 Reference: ASB-2014.0134 ASB-2014.0127 ESB-2014.2242 ESB-2014.1872 ESB-2014.1871 ESB-2014.1858 ESB-2014.1737 ESB-2014.1710 Original Bulletin: http://www-01.ibm.com/support/docview.wss?uid=swg21686792 - --------------------------BEGIN INCLUDED TEXT-------------------- Security Bulletin: Multiple vulnerabilities affecting the Cordova platform and IBM SDK Node.js packaged with Rational Software Architect and Rational Software Architect for WebSphere Software Document information More support for: Rational Software Architect General Information Software version: 9.1, 9.1.1 Operating system(s): Linux, OS X, Windows Reference #: 1686792 Modified date: 2014-11-28 Security Bulletin Summary Multiple vulnerabilities have been discovered that affect the Cordova platform and IBM SDK Node.js packaged with Rational Software Architect and Rational Software Architect for WebSphere software (CVE-2014-3500, CVE-2014-3501, CVE-2014-3502, CVE-2014-5256, CVE-2014-7191, CVE-2014-7192, CVE-2014-3568, CVE-2014-3567 and CVE-2014-3513). Vulnerability Details CVEID: CVE-2014-3500 Description: Apache Cordova is vulnerable to cross-application scripting, which is caused by improper validation of user-supplied input. A remote attacker might exploit this vulnerability using Android intent URLs to execute script in a victim's web browser within the security context of the hosting web site after the URL is clicked. An attacker might use this vulnerability to steal the victim's cookie-based authentication credentials. CVSS Base Score: 4.3 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/94408 for the current score CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:M/Au:N/C:N/I:P/A:N) CVEID: CVE-2014-3501 Description: Apache Cordova might allow a remote attacker to bypass security restrictions, which is caused by an error that is related to the failure to use a specific whitelist when communicating over non-http channels by the WebView component. An attacker might exploit this vulnerability to bypass the HTTP whitelist and launch further attacks on the system. CVSS Base Score: 5.0 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/95107 for the current score CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:P/A:N) CVEID: CVE-2014-3502 Description: Apache Cordova might allow a remote attacker to obtain sensitive information, which is caused by the manipulation of HTML content within a Cordova application. An attacker might exploit this vulnerability to send data from the application to the network. CVSS Base Score: 4.3 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/94443 for the current score CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:M/Au:N/C:P/I:N/A:N) CVEID: CVE-2014-5256 Description:V8 shipped with Node.js is vulnerable to a denial of service, caused by a memory corruption error. By sending an overly long JSON string, a remote attacker could exploit this vulnerability to cause a segmentation fault. CVSS Base Score: 5.0 CVSS Temporal Score: See http://xforce.iss.net/xforce/xfdb/95057 for the current score CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) CVE-ID: CVE-2014-7191 Description: Node.js is vulnerable to a denial of service, caused by an error in the qs module when parsing a string representing a deeply nested object. An attacker could exploit this vulnerability to block the event loop for an extended period of time and cause a denial of service. CVSS Base Score: 5.0 CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/96729 for more information CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) CVE-ID: CVE-2014-7192 Description: Node.js could allow a remote attacker to execute arbitrary code on the system, caused by the improper validation of input prior to being used in an eval() call. An attacker could exploit this vulnerability to inject and execute arbitrary PHP code on the system. CVSS Base Score: 7.5 CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/96728 for more information CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:P/I:P/A:P) CVE ID: CVE-2014-3513 Description: OpenSSL is vulnerable to a denial of service, caused by a memory leak in the DTLS Secure Real-time Transport Protocol (SRTP) extension parsing code. By sending multiple specially-crafted handshake messages, an attacker could exploit this vulnerability to exhaust all available memory of an SSL/TLS or DTLS server. CVSS Base Score: 5.0 CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/97035 for more information CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) CVE-ID: CVE-2014-3567 Description: OpenSSL is vulnerable to a denial of service, caused by a memory leak when handling failed session ticket integrity checks. By sending an overly large number of invalid session tickets, an attacker could exploit this vulnerability to exhaust all available memory of an SSL/TLS or DTLS server. CVSS Base Score: 5.0 CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/97036 for more information CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:P) CVE-ID: CVE-2014-3568 Description: OpenSSL could allow a remote attacker bypass security restrictions. When configured with "no-ssl3" as a build option, servers could accept and complete a SSL 3.0 handshake. An attacker could exploit this vulnerability to perform unauthorized actions. CVSS Base Score: 2.6 CVSS Temporal Score: http://xforce.iss.net/xforce/xfdb/97037 for more information CVSS Environmental Score*: Undefined CVSS Vector: (AV:N/AC:H/Au:N/C:N/I:P/A:N) Affected Products and Versions Rational Software Architect 9.1 and 9.1.1 Rational Software Architect for WebSphere Software 9.1 and 9.1.1 Remediation/Fixes Update the Cordova platform to 3.5.0, Node.js to 1.1.0.9 and the Android platform to 3.5.1 using the Node Packaged Modules software provided with the product: Product VRMF Remediation/Download FixCentral link Rational Software Architect 9.1 and 9.1.1 Cordova and IBM SDK NodeJS iFix Rational Software Architect 9.1 and 9.1.1 Cordova and IBM SDK for WebSphere Software NodeJS iFix Installation Instructions: For instructions on installing this update using Installation Manager, review the topic Updating Installed Product Packages in the IBM Knowledge Center. Instructions to download and install the update from the compressed files: Download the update files from Fix Central by following the link listed in the download table above Extract the compressed files in an appropriate directory. For example, choose to extract to C:\temp\update Add the update repository location in IBM Installation Manager: Start IBM Installation Manager. On the Start page of Installation Manager, click File > Preferences, and then click Repositories. On the Repositories page, click Add Repository. In the Add repository window, browse to or enter the file path to the repository.config file, which is located in the directory where you extracted the compressed files and then click OK. For example, enter C:\temp\updates\repository.config. Click OK to close the Preference page. Install the update as described in the the topic Updating Installed Product Packages in the IBM Knowledge Center for your product and version. Post Installation: After applying the appropriate fix, additional instructions are needed for the CVE-2014-3500, CVE-2014-3501 and CVE-2014-3502 issues. Complete the following steps to modify the Cordova whitelist Note: One of the security fixes involves creating a new whitelist for protocols other than HTTP and HTTPS. If your application uses other protocols besides http and https, such as sms, mailto, geo, etc, then you need to make some configuration changes to add these protocols to the whitelist. Procedure: Open the Cordova config.xml file, located in <project>/config.xml View your whitelist entries, such as the following example: <access origin="https://my.company.com/resources" /> <access origin="http://*.othersupplier.com" /> For every non HTTP or HTTPS protocol that you use you will need to add a whitelist entry like this code: <access origin="sms://*" launch-external="true" /> <access origin="mailto://*" launch-external="true" /> <access origin="geo://*" launch-external="true" /> The launch-external attribute tells Cordova to allow this URL to be handled by other applications in Android system and not by the currently running Cordova. This approach means that when a user clicks a <a href="sms:555..."> link, Android lets whatever application is registered to sms: handle the request. The only entry in your whitelist might look like this code: <access origin="*" /> In this instance, your application allows resource requests to any Internet resource, which might open your application to certain kinds of attacks. You should list specific domains in this tag that you want to be able to access. If you do not utilize any protocol other than file, data, and content, then you can leave your whitelist as-is as these protocols are essential for Cordova internals and do not need to be explicitly whitelisted. All actions that use protocols that are not added to the whitelist are treated as no-ops and ignored by Cordova. Rebuild your application and redeploy to your users After making these changes to the whitelist (if they are needed) then you will need to rebuild your Android application and distribute to your users as an update. Workarounds and Mitigations None References Complete CVSS Guide On-line Calculator V2 Apache Cordova Android 3.5.1 Related information IBM Secure Engineering Web Portal IBM Product Security Incident Response Blog Acknowledgement None Change History * 28 November 2014: Original copy published *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. Cross reference information Segment Software Development Product Rational Software Architect for WebSphere Software Component Platform Linux, OS X, Windows Version 9.1, 9.1.1 Edition - --------------------------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 iQIVAwUBVHu26xLndAQH1ShLAQJZARAAq/XYlp4W5HE3GxuK5byLHe0QQFeO+hFJ cITSyi2ygl4L5nbTI0vtGMk+VzVFQD6hNjvTiy10/SLPiLEP8SACf2xl5KNCMgDs ZRrE/mC6FvTdXjjRTdfRexmwqnl5qismSvEvXtr4PLwWZEGsWz3Qf1t38b4LBP98 vtvL3NAxgd2zEPQeJQOwmFXog6J87JDloZ8rK3Zfyz2i1kbZsrk9/yHzqjLCvfy0 suUBoVznyVcfyxbRJc1fn545IIi2TIBjpFdTeuVWZF1b9jri1w3QbicgqrepVORE YKDX+7lJAPUs+A/llykM6n0mTkIuEijsdTBJj/2JtgoZlUDjXt4P7aD3r+cXSUuR Lc+1QXpSSB2a/tMJzcw6itW3Xz/kft8vUYMiJj/f/uW1d5sOchle2AMQ42hlgR0n JDXgaeYxX+BorLRO+qXTJhmxe4kwncJM5vN/4b1d1ZlDxhZBKUYS2hASwhAJDV83 T+CNeNV00NiXd5QG4ydGxPGDQjwNVvH0bSRJSnd184hnIH1YA/XIsX7M0V2qciy/ UaXIKVAQj4eyPtv6yPD3CHcvwmQEiTZ9dGHLjiJDGCJZ9jkt6S5qy9EOUkG8KUKL xP+0jssjJaymanZaxHgyP+NMipUQTjYj9HVhexRlxxSvJ9uySrFZNsk5xTE34l0I QPKHs/ti3rU= =nfBO -----END PGP SIGNATURE-----