Microsoft Internet Explorer frame/iframe javascript: URL cross-domain script execution
| ie-frame-script-execution (10066) |
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.
Consequences:
Gain Access
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.
References:
- BugTraq Mailing List, Tue Sep 10 2002 - 12:21:53 CDT: RE: Who framed Internet Explorer and IE6 SP1.
- CIAC Information Bulletin N-018: Microsoft Cumulative Patch for Internet Explorer.
- GreyMagic Security Advisory GM#010-IE: Who framed Internet Explorer. .
- Microsoft Corporation Web site: What You Should Know About Microsoft Security Bulletin MS02-066.
- Microsoft Security Bulletin MS02-066: Cumulative Patch for Internet Explorer (Q328970).
- Microsoft Security Bulletin MS02-068: Cumulative Patch for Internet Explorer (324929).
- Microsoft Security Bulletin MS03-004: Cumulative Patch for Internet Explorer (810847).
- Microsoft Security Bulletin MS03-015: Cumulative Patch for Internet Explorer (813489).
- Microsoft Security Bulletin MS03-032: Cumulative Patch for Internet Explorer (822925).
- Microsoft Security Bulletin MS03-040: Cumulative Patch for Internet Explorer (828750).
- Microsoft Security Bulletin MS03-048: Cumulative Security Update for Internet Explorer (824145).
- Microsoft Security Bulletin MS04-004: Cumulative Security Update for Internet Explorer (832894).
- Microsoft Security Bulletin MS04-025: Cumulative Security Update for Internet Explorer (867801).
- Microsoft Security Bulletin MS04-038: Cumulative Security Update for Internet Explorer (834707).
- Microsoft Security Bulletin MS04-040: Cumulative Security Update for Internet Explorer (889293).
- Microsoft Security Bulletin MS05-014: Cumulative Security Update for Internet Explorer (867282).
- Microsoft Security Bulletin MS05-020: Cumulative Security Update for Internet Explorer (890923).
- Microsoft Security Bulletin MS05-025: Cumulative Security Update for Internet Explorer (883939).
- Microsoft Security Bulletin MS05-038: Cumulative Security Update for Internet Explorer (896727).
- Microsoft Security Bulletin MS05-052: Cumulative Security Update for Internet Explorer (896688).
- Microsoft Security Bulletin MS05-054: Cumulative Security Update for Internet Explorer (905915).
- Microsoft Security Bulletin MS06-004: Cumulative Security Update for Internet Explorer (910620).
- Microsoft Security Bulletin MS06-013: Cumulative Security Update for Internet Explorer (912812).
- Microsoft Security Bulletin MS06-021: Cumulative Security Update for Internet Explorer (916281).
- Microsoft Security Bulletin MS06-042: Cumulative Security Update for Internet Explorer (918899).
- Microsoft Security Bulletin MS06-067: Cumulative Security Update for Internet Explorer (922760).
- Microsoft Security Bulletin MS06-072: Cumulative Security Update for Internet Explorer (925454).
- Microsoft Security Bulletin MS07-016: Cumulative Security Update for Internet Explorer (928090).
- Microsoft Security Bulletin MS07-027: Cumulative Security Update for Internet Explorer (931768).
- Microsoft Security Bulletin MS07-033: Cumulative Security Update for Internet Explorer (933566).
- Microsoft Security Bulletin MS07-045: Cumulative Security Update for Internet Explorer (937143).
- Microsoft Security Bulletin MS07-057: Cumulative Security Update for Internet Explorer (939653).
- Microsoft Security Bulletin MS07-069: Cumulative Security Update for Internet Explorer (942615).
- Microsoft Security Bulletin MS08-010: Cumulative Security Update for Internet Explorer (944533).
- Microsoft Security Bulletin MS08-024: Cumulative Security Update for Internet Explorer (947864).
- Microsoft Security Bulletin MS08-031: Cumulative Security Update for Internet Explorer (950759).
- Microsoft Security Bulletin MS08-045: Cumulative Security Update for Internet Explorer (953838).
- Microsoft Security Bulletin MS08-058: Cumulative Security Update for Internet Explorer (956390).
- BID-5672: Microsoft Internet Explorer IFrame/Frame Cross-Site/Zone Script Execution Vulnerability
- CVE-2002-1187: Cross-site scripting vulnerability (XSS) in Internet Explorer 5.01 through 6.0 allows remote attackers to read and execute files on the local system via web pages using the <frame> or <iframe> element and javascript, aka Frames Cross Site Scripting
- OSVDB ID: 2998: Microsoft IE Frame Javascript URL Cross-Domain Script Execution
Platforms Affected:
- Microsoft Internet Explorer 5.5
- Microsoft Internet Explorer 6.0
Reported:
Sep 09, 2002
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this
