Cloudstack Source code
Go to file
Sheng Yang 257836284a bug 11904: Fix regression caused by OpenJDK 1.6.0 security fix
It’s due to an security fix of OpenJDK 1.6.0 added by Redhat. Here is excerpt
of [RHSA-2011:1380-01] Critical: java-1.6.0-openjdk security update(
https://www.redhat.com/archives/rhsa-announce/2011-October/msg00011.html)

    A flaw was found in the way the SSL 3 and TLS 1.0 protocols used block
    ciphers in cipher-block chaining (CBC) mode. An attacker able to perform a
    chosen plain text attack against a connection mixing trusted and untrusted
    data could use this flaw to recover portions of the trusted data sent over
    the connection. (CVE-2011-3389)

    Note: This update mitigates the CVE-2011-3389 issue by splitting the first
    application data record byte to a separate SSL/TLS protocol record. This
    mitigation may cause compatibility issues with some SSL/TLS implementations
    and can be disabled using the jsse.enableCBCProtection boolean property.
    This can be done on the command line by appending the flag
    "-Djsse.enableCBCProtection=false" to the java command.

To our knowledge, there are two condition need to be met to trigger this bug:
1.    Using old keystore generated by mgmt. server 2.2.8, which is signed with
SHA1withDSA. Any version later than 2.2.8 would generate keystore signed with
SHA1withRSA. RSA one seems fine with us so far.
2.    Use OpenJDK >=1.6.0.

The reason is, due to the security fix above, the assumption that one packet
would contain only one SSL record is broken. The decrypted data maybe only
contained the first byte of original application data. Then result in buffer
underflow when mgmt server want to read more from it.

To workaround it, according to the message above, add
"-Djsse.enableCBCProtection=false" to tomcat6.conf JAVA_OPTS line would work.
Notice the parameter would only work with latest version of OpenJDK, so simply
add it to the all setup would not work.

This patch provided a fix for it.

status 11904: resolved fixed
2011-11-16 18:40:14 -08:00
agent Revert "bug 10617: merging code from branch bug10617" 2011-11-11 20:23:26 +05:30
agent-simulator Fixed unittest 2011-11-11 14:32:25 -08:00
api Removed unsupported state from the network offering 2011-11-16 17:22:07 -08:00
build Merge branch 'newagentmgr' 2011-10-27 11:09:56 -07:00
client bug 11817 : NAAS external networking device support 2011-11-16 10:53:22 -08:00
cloud-cli add apikey/securitykey in cloud-cli 2011-08-19 11:23:30 -07:00
console bug 10656: check OutOfMemoryError in critical path, fix run.sh to let it be able to monitor process termination 2011-07-11 16:33:19 -07:00
console-proxy bug 11663: iterate the whole /var/cache/cloud/cmdline to find out the mgt server ip address, as the position is different for each hypervisor 2011-10-06 14:33:58 -07:00
console-viewer fixed eclipse path 2011-02-23 14:39:25 -08:00
core bug 12039,12041: when taking snapshot for detached volume, keep the worker VM around until backup copy to SSVM is done 2011-11-16 18:39:59 -08:00
daemonize remove wscript_build from daemonize/ 2010-12-04 23:03:24 -08:00
debian fix dependent jar version for debian build 2011-09-23 17:40:15 -07:00
deps bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values. 2011-10-24 10:26:02 +05:30
docs Update documentation source files. 2011-10-25 22:50:16 -07:00
ovm Bug 12007 - OVM - Addition of OVM host fails - NPE (edit) 2011-11-14 16:59:29 -08:00
patches bug 11835: don't return error if it's delete firewall rules 2011-11-10 17:59:01 -08:00
python fix adding host on ubuntu 2011-09-23 14:40:57 -07:00
scripts Revert "bug 10617: merging code from branch bug10617" 2011-11-11 20:23:26 +05:30
server fixing bug in provider verify logic of SRX element 2011-11-16 18:23:09 -08:00
setup NaaS: Add service provider to server-setup.xml 2011-11-15 17:09:55 -08:00
test bug 11772: Add improved version of locking for the scripts in the systemvm 2011-11-01 19:06:14 -07:00
tools Cleaning up stuff, reorganizing parser into a class to make it more manageable 2011-11-08 17:11:44 -08:00
ui cloudStack 3.0 new UI - system - Advanced Zone - guest - create network - domain field and account field's showing/hiding depends on selection in scope field. 2011-11-16 17:15:38 -08:00
usage bug 11961: Before creating template usage_storage records, check if entry already exists. In multiple secondary storage case, duplicate usage events will be ignored. 2011-11-11 13:45:19 +05:30
utils bug 11904: Fix regression caused by OpenJDK 1.6.0 security fix 2011-11-16 18:40:14 -08:00
vmware-base bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration) 2011-10-21 18:44:56 -07:00
.gitignore Update gitignore 2011-11-03 15:25:01 -07:00
INSTALL.txt adding a Install from source document 2011-08-31 12:18:46 -04:00
README.html Update README to point to new information resources. 2011-06-14 18:53:45 -07:00
build.xml updating copyright licenses, including build-usage.xml 2011-08-31 16:22:51 -04:00
cloud.spec Use components-premium.xml from new package 2011-11-03 16:44:03 -07:00
configure-info.in Source code committed 2010-08-11 09:13:29 -07:00
version-info.in more file changes 2010-09-09 13:27:20 -07:00
waf Source code committed 2010-08-11 09:13:29 -07:00
waf.bat Source code committed 2010-08-11 09:13:29 -07:00
wscript speed up rpm build 2011-07-01 17:52:27 -07:00
wscript_build remove depreicated build_patches() from waf 2011-10-17 16:59:08 -07:00
wscript_configure add jna dependenc 2011-09-13 18:52:48 -07:00

README.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<body>
<a href="http://cloud.com"><img src="docs/images/logo_cloud.jpg"></a>
<p>Welcome to CloudStack. Here's where you can find more information:</p>
<ul>
<li><a href="http://www.cloudstack.org">Community</a> - forums, code, bugbase, blog, events, links to outside resources, IRC, and more</li>
<li><a href="http://cloud.mindtouch.us">Documentation and Knowledge Base</a> - installation steps, guides, references, troubleshooting tips</li>
<li><a href="http://cloud.com">Cloud.com</a>
</ul>
</body>
</html>