Barmitzvah attack – Disabling RC4 ciphers

Software AG Security Advisory

The RC4 “Bar Mitzvah” Attack affects the SSL/TLS connections of the products under SAG product suite.

Announced: 2016-02-01

Affects: all

Severity: High

I. Description

Bar Mitzvah attack exploits the weak keys used by RC4 and allows an attacker to recover plain text from the encrypted information, potentially exposing account credentials, credit card data, or other sensitive information. And unlike previous SSL hacks (POODLE, Heartbleed, SSL Freak), this one doesn’t require an active man-in-the-middle session, just passive sniffing or eavesdropping on SSL/TLS-encrypted connections is sufficient.

II. Impact

With RC4 ciphers supported in SSL/TLS encrypted connections, all the products in Software AG product suite using SSL/TLS encrypted connections are probable to be exploited with this attack.

III. General mitigation of the vulnerability 

There are many possibilities for this attack to happen, but the general mitigation SAG suggests to its customer is to have the RC4 ciphers disabled from its supported cipher suite. Below are some mitigations one should be taking care of in order to disable RC4 ciphers from the supported cipher suite.

IIIa.

Products: Integration Server, Designer, Universal Messaging, Apama, Presto, ApplinX 

The mitigation will be a global configuration in the underlying JVM to enable/disable the RC4 ciphers from being supported. For the versions that are 9.10 and below, Update the default JVM configuration in java.security file that turns off RC4 stream cipher from use. 

1. Open the java.security file from <SAG_InstallDir>\jvm\<jvm_version>\jre\lib\security location

2. Set the property jdk.tls.disabledAlgorithms to RC4.

   ie., jdk.tls.disabledAlgorithms=RC4

   If a value is already set, make sure you append “RC4” to the existing value.

3. Save the file and close and restart your respective servers.

IIIb.

Products: Broker 

These products makes use of OpenSSL for SSL/TLS connections. The mitigation will be a global configuration that goes in to the way the OpenSSL is invoked. The cipher suites to be supported for SSL/TLS connections in OpenSSL can be configured globally. Please refer to “OpenSSL Cryptography” in chapter “Managing Broker Security” in Broker Administration Guide

IIIc. Common Platform Tomcat 

Browser-based interactions to systems running on the common platform Tomcat are vulnerable.  As with MWS, it is recommended to use a front-end 

load balancer with these systems for both security and performance reasons. 

Tomcat-based solutions can disable any weak cipher by setting the sslEnabledProperties in the profiles/product/configuration/com.softwareag.catalina.connector.https.pid-xxxx file.  Add the property at the end of the property file and restart. 

… 

acceptCount=100 

maxHttpHeaderSize=8192 

sslEnabledProtocols=TLSv1,TLSv1.1,TLSv1.2 

ciphers=<LIST_OF_CIPHERS_SUPPORTED>

example:

ciphers=RSA_WITH_3DES_EDE_CBC_SHA, DHE_RSA_WITH_3DES_EDE_CBC_SHA, RSA_WITH_AES_128_CBC_SHA, DHE_RSA_WITH_AES_128_CBC_SHA, RSA_WITH_AES_128_CBC_SHA256, DHE_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_DHE_RSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

IIId.

Products: My webMethods Server 

For MWS 9.5 and later, the excludeCipherSuites section can be added to the server’s jetty.xml file just below the TrustStoreType setting. This will allow user to custom disable the ciphers from SSL/TLS connections.

<Set name=”excludeCipherSuites”>

<Array type=”java.lang.String”>

  <Item>RSA_WITH_RC4_128_MD5</Item>

  <Item>RSA_WITH_RC4_128_SHA</Item>

  <Item>TLS_ECDHE_RSA_WITH_RC4_128_SHA</Item>

  <Item>SSL_RSA_EXPORT_WITH_RC4_40_MD5</Item>

  <Item>SSL_DH_anon_EXPORT_WITH_RC4_40_MD5</Item>

  <Item>TLS_KRB5_EXPORT_WITH_RC4_40_MD5</Item>

</Array>

</Set>

You can refer to http://fastpicket.com/blog/2012/08/27/disabling-insecure-cipher-suites-in-jetty/ more about Jetty configurations.

IIIe. Command Central and OneData 

Please see section on Common Platform Tomcat for remediation guidance.

IV. Fix

None required.

V. Versions Affected

All.

None required.

VI. Security Alerts

Security Alerts are published to the Empower website.

VII. Contacting Us

If you have questions about this alert or need to report an additional issue, send an email to Software AG security team:

security@softwareag.com

Authorized technical support contacts can reach Software AG Global Support in the following ways:

Web: https://empower.softwareag.com/eservice/default.aspx (online support center)

You can find complete contact information in our Global Support Contact Directory at

https://empower.softwareag.com/public_directory.aspx

You can also participate in our Software AG Developer Communities, which feature technical information, useful resources, and online discussion forums, moderated by Software AG professionals, to help you do more with technology:

http://www.softwareag.com/Corporate/community/dev_net/default.asp

VIII. Copyright

Copyright (c) 2015 by Software AG. Permission is granted for copying and circulating this bulletin to Software AG customers for the purpose of alerting them to those topics covered by this bulletin, if and only if, this bulletin is not edited or changed in any way, is attributed to Software AG, and provided such reproduction and/or distribution is performed for non-commercial purposes. Any other use of this information is prohibited.

IX. Revision History

2016-02-01: Initial release