Spoofing AUTH_USER or REMOTE_USER
We are thinking about using Windows Integrated Authentication on our IIS website for determining the user's Windows login when visiting our intranet website.
Our concern is whether its possible to spoof the CGI.AUTH_USER or CGI.REMOTE_USER variables? Ive read Jason Dean's article on spoofing CGI variables (here: http://www.12robots.com/index.cfm/2008/12/9/Spoofing-CGI-variables--Security-Series-11) and a few other articles on the subject, but haven't found anything concrete. I have tried Jason's cfhttp call to our site but am unable to set any variables - which I think is a good thing. Here is the code that I have tried so far for both REMOTE_USER and AUTH_USER.
<cfhttp method="post" url="index.cfm" result="myVar">
<cfhttpparam type="url" name="method" value="test">
<!--- the 3 lines below did not work --->
<cfhttpparam type="header" name="REFERER" value="anotherpage.cfm">
<cfhttpparam type="header" name="REMOTE_HOST" value="123.45.67.8">
<cfhttpparam type="header" name="AUTH_USER" value="domain/spoofuser">
<!--- the line below did not work --->
<cfhttpparam type="cgi" name="AUTH_USER" value="domain/spoofuser">
<!--- the line below did not work --->
<cfhttpparam type="cgi" name="HTTP_AUTH_USER" value="domain/spoofuser">
<cfhttpparam type="formfield" name="entryid" value="blah">
</cfhttp>
Is there anything, such as variables names or method of attack, that I should be doing differently?
