Heads up, this is serious.
If you are relying on <authorization> sections in subdirectories (or via <location> in your web.config files), you should be aware of a canonicalization bug in ASP.NET that can allow an attacker to slip past the UrlAuthorizationModule by using a backslash instead of a forward slash. For example, an (unauthorized) attacker might be able to get to a secured directory as follows (note the backslash between “bar“ and “secure“ in the sample URL below):
http://quux.com/foo/bar\secure/securedPage.aspx
Microsoft has posted an article detailing steps that you can take to protect yourself in the meantime, while they work on a patch.
I worked with dominick on this one to see if we could reproduce it. I wasn't able to repro on W2K3 (apparently the built-in URLScan capability is fixing the URL before it gets to ASP.NET). Dominick was able to repro on earlier platforms.
Posted
Oct 06 2004, 01:02 PM
by
keith-brown