[40476] in bugtraq
Re: "Exploiting the XmlHttpRequest object in IE" - paper by Amit
daemon@ATHENA.MIT.EDU (anonymous@anonymous.com)
Tue Sep 27 13:48:20 2005
Date: 27 Sep 2005 03:19:23 -0000
Message-ID: <20050927031923.27749.qmail@securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: anonymous@anonymous.com
To: bugtraq@securityfocus.com
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!