The SSL protocol, as used in certain configurations in Microsoft Windows and Microsoft Internet Explorer, Mozilla Firefox, Google Chrome, Opera, and other products, encrypts data by using CBC mode with chained initialization vectors, which allows man-in-the-middle attackers to obtain plaintext HTTP headers via a blockwise chosen-boundary attack (BCBA) on an HTTPS session, in conjunction with JavaScript code that uses (1) the HTML5 WebSocket API, (2) the Java URLConnection API, or (3) the Silverlight WebClient API, aka a "BEAST" attack. #### Notes Author| Note ---|--- [mdeslaur](<https://launchpad.net/~mdeslaur>) | in natty+, NetX and the plugin moved to the icedtea-web package [jdstrand](<https://launchpad.net/~jdstrand>) | this is not a lighttpd issue, however dsa-2368 disabled CBC ciphers by default. Ignoring as this is a configuration issue. [sbeattie](<https://launchpad.net/~sbeattie>) | openssl contains a countermeasure since openssl 0.9.8d, though it can be disabled with the SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS option (which is included in SSL_OP_ALL). Need to search through openssl user that enable the option. [tyhicks](<https://launchpad.net/~tyhicks>) | All versions of gnutls in supported releases have TLS 1.1 and 1.2 support. TLS 1.1 and 1.2 are not affected by this attack. Upstream advised applications to use 1.1 and 1.2 in GNUTLS-SA-2011-1. Additionally, DTLS 1.0 can be used or RC4 can be used with TLS 1.0 if TLS 1.1 or 1.2 are not viable options. [jdstrand](<https://launchpad.net/~jdstrand>) | arcticdog blog points out that users of SSL_OP_ALL should be updated to use 'SSL_OP_ALL & ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS' to not be vulnerable to this attack [mdeslaur](<https://launchpad.net/~mdeslaur>) | removing SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS will break compatibility with certain SSL implementations, which is why it's included in SSL_OP_ALL in the first place. Since the BEAST attack is only practical in web browsers where you can run arbitrary code, and current web browsers are already fixed, modifying other software in the archive to enable the work around will break compatibility with no added security benefit.

Affected Package

OS OS Version Package Name Package Version
ubuntu upstream icedtea-web any
ubuntu upstream lighttpd 1.4.30-1
ubuntu 10.04 openjdk-6 6b20-1.9.10-0ubuntu1~10.04.2
ubuntu 10.10 openjdk-6 6b20-1.9.10-0ubuntu1~10.10.2
ubuntu 11.04 openjdk-6 6b22-1.10.4-0ubuntu1~11.04.1
ubuntu 11.10 openjdk-6 6b23~pre11-0ubuntu1.11.10
ubuntu upstream openjdk-6 any
ubuntu 10.04 openjdk-6b18 6b18-1.8.10-0ubuntu1~10.04.2
ubuntu 10.10 openjdk-6b18 6b18-1.8.10-0ubuntu1~10.10.2
ubuntu 11.04 openjdk-6b18 6b18-1.8.10-0ubuntu1~11.04.1
ubuntu upstream openjdk-6b18 any
ubuntu 11.10 openjdk-7 7~b147-2.0-0ubuntu0.11.10.1
ubuntu 12.04 openjdk-7 7~b147-2.0-1ubuntu1
ubuntu 12.10 openjdk-7 7~b147-2.0-1ubuntu1
ubuntu upstream openjdk-7 any
ubuntu upstream openssl any
ubuntu upstream sun-java5 any
ubuntu upstream sun-java6 any