Microsoft Internet Explorer frame/iframe javascript: URL cross-domain script execution

ie-frame-script-execution (10066) The risk level is classified as HighHigh Risk

Description:

Microsoft Internet Explorer could allow a remote attacker to execute malicious JavaScript on any Web page that uses a <frame> or <iframe> element. A remote attacker could exploit this vulnerability by setting the URL in a Web page's <frame> or <iframe> element to a javascript: URL (i.e.: javascript:alert (document.cookie), which would cause the script to be executed in the security context of the currently loaded site. If the child frame is located in a different domain as the parent, the attacker would need to change the URL of the child frame to that of the parent before setting the javascript: URL. An attacker could use this vulnerability to steal a user's cookies or possibly access and modify Web content.

This vulnerability could also be used to read local files or execute programs on a victim's computer by creating a page that loads the PrivacyPolicy.dlg file, which contains a <frame> element, and then modifying the URL of this file's frame to the javascript: URL. The PrivacyPolicy.dlg file was included with Internet Explorer 6.0 only.

Platforms Affected:

  • Microsoft, Internet Explorer 5.5
  • Microsoft, Internet Explorer 6

Remedy:

Apply the appropriate patch for your system, as listed in the latest Microsoft Security Bulletin. See References.

— OR —

Use Microsoft Automatic Update if it is supported by your operating system. The original bulletin issued by Microsoft has been superseded.

Consequences:

Gain Access

References: