WebApp Sec mailing list archives

Re: Round-up: Ways to bypass HttpOnly (and HTTP Basic auth)


From: "Amit Klein (AKsecurity)" <aksecurity () hotpop com>
Date: Fri, 05 May 2006 17:10:17 +0200

On 3 May 2006 at 12:47, Amit Klein (AKsecurity) wrote:


5. Last but not least, there's a simple technique which I don't remember was publicly
discussed (though I may be wrong here - please let me know if this is well known):

[...]

You'll see the incoming cookies in HTTP_COOKIE. I'm not sure about HTTP Basic Auth though 
(I expected to see it in HTTP_AUTHORIZATION, but it seems that the servers handle this 
header and do not provide it in the ENV variables).


I just tested IIS/6.0. It provides the HTTP Authorization header in several environment 
variables:
- HTTP_AUTHORIZATION (as mentioned in the original posting, above)
- Part of ALL_HTTP
- Part of ALL_RAW

When the page is successfully authenticated, the credentials can also be found in:
- AUTH_USER (and LOGON_USER, REMOTE_USER) and AUTH_PASSWORD 


-------------------------------------------------------------------------
Sponsored by: Watchfire

The Twelve Most Common Application-level Hack Attacks
Hackers continue to add billions to the cost of doing business online 
despite security executives' efforts to prevent malicious attacks. This 
whitepaper identifies the most common methods of attacks that we have seen, 
and outlines a guideline for developing secure web applications. 
Download this whitepaper today!

https://www.watchfire.com/securearea/whitepapers.aspx?id=701300000007t9r
--------------------------------------------------------------------------


Current thread: