Groups | Blog | Home
all groups > iis security > october 2004 >

iis security : Parent Paths


news.microsoft.com
10/26/2004 11:26:16 AM
If I've enabled Parent Paths (PP) in IIS, but have installed the URL Filter
and disallowed ".." and "../" within links, am I covered from the
vulnerabilities of PP's?

This allows me to use PP's in #Include statements, but doesn't allow
visitors to use PP's in their links to access directories on my server.

Is this correct?

TIA

Jason Brown [MSFT]
10/27/2004 11:52:42 AM
Yes, unless a malicious user is somehow able to upload a .asp or other
active file to the server - they could then in theory do just what you're
doing and use parent paths server-side.

This kind of vulnerability is more common than you may think - if a user can
upload a file to a web-viewable directory which contains script, then a URL
filter will do no good at all. Then again if you are vulnerable to that one,
then disabling PPs server-side is the least of your worries.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.


[quoted text, click to view]

Mike
10/28/2004 9:27:27 AM
Thanks for the response...

If an upload folder is present, but the Script rights are set to 'None' on
that folder, then this vulnerability should be covered, right?

i.e. They may indeed be able to upload an asp file to your upload folder,
but won't be able to run it.

Thanks,
Mike


[quoted text, click to view]

Jason Brown [MSFT]
10/29/2004 10:32:06 AM
yep. as long as there's no way of influencing where the file is saved to,
that would be fine.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.


[quoted text, click to view]

AddThis Social Bookmark Button