Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

URLSCAN on IIS6 config

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Author Message
anonymous1441

External


Since: Mar 16, 2004
Posts: 20



(Msg. 1) Posted: Fri Jun 04, 2004 9:15 am
Post subject: URLSCAN on IIS6 config
Archived from groups: microsoft>public>inetserver>iis (more info?)

I am having some problems getting URLScan 2.5 running
properly on IIS6. I can't get the default doc to display
unless it is written out in the url. If I remove urlscan
from the server it is okay. The urlscan logs looks like
it is seeing a . in the url and rejecting the request
there is obviously no period in the url

Help please

Mike


http://ricweb3/default.asp output: Boo

http://ricweb3/ output: The system cannot find the file
specified.

code in default.asp
<%
response.write "Boo"
%>

----------------------------------------------------
From urlscanlog:
[06-04-2004 - 09:08:20] Client at xxx.xxx.xxx.xxx: URL
contains extension '.', which is not specifically allowed.
Request will be rejected. Site Instance='599050834', Raw
URL='/'



------------------------------------------------
urlscan.ini settings
UseAllowExtensions=1

[AllowExtensions]
;
; Extensions listed here are commonly used on a typical
IIS server.
;
; Note that these entries are effective
if "UseAllowExtensions=1"
; is set in the [Options] section above.
;

..htm
..html
..txt
..jpg
..jpeg
..gif
..asp
------------------------------------------

 >> Stay informed about: URLSCAN on IIS6 config 
Back to top
Login to vote
anonymous1441

External


Since: Mar 16, 2004
Posts: 20



(Msg. 2) Posted: Fri Jun 04, 2004 10:25 am
Post subject: URLSCAN on IIS6 config [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Looks like I need a "." in the allow extensions settings
for the default document to run.

Mike


 >-----Original Message-----
 >I am having some problems getting URLScan 2.5 running
 >properly on IIS6. I can't get the default doc to display
 >unless it is written out in the url. If I remove urlscan
 >from the server it is okay. The urlscan logs looks like
 >it is seeing a . in the url and rejecting the request
 >there is obviously no period in the url
 >
 >Help please
 >
 >Mike
 >
 >
 >http://ricweb3/default.asp output: Boo
 >
 >http://ricweb3/ output: The system cannot find the file
 >specified.
 >
 >code in default.asp
 ><%
 >response.write "Boo"
 >%>
 >
 >----------------------------------------------------
 >From urlscanlog:
 >[06-04-2004 - 09:08:20] Client at xxx.xxx.xxx.xxx: URL
 >contains extension '.', which is not specifically
allowed.
 >Request will be rejected. Site Instance='599050834', Raw
 >URL='/'
 >
 >
 >
 >------------------------------------------------
 >urlscan.ini settings
 >UseAllowExtensions=1
 >
 >[AllowExtensions]
 >;
 >; Extensions listed here are commonly used on a typical
 >IIS server.
 >;
 >; Note that these entries are effective
 >if "UseAllowExtensions=1"
 >; is set in the [Options] section above.
 >;
 >
 >..htm
 >..html
 >..txt
 >..jpg
 >..jpeg
 >..gif
 >..asp
 >------------------------------------------
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: URLSCAN on IIS6 config 
Back to top
Login to vote
someone9

External


Since: Aug 25, 2003
Posts: 2419



(Msg. 3) Posted: Sat Jun 05, 2004 8:10 am
Post subject: Re: URLSCAN on IIS6 config [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

URLScan isn't rejecting it based on ".", it's rejecting the URL because you
required all URLs to have extensions (access to / is not counted as an
extension due to how URLScan interacts with IIS)

I suggest you reconsider the use of the "AllowExtensions" feature of URLScan
on IIS6 because it is not as good as the built-in support of IIS6.

See this URL for a comparison.
<a style='text-decoration: underline;' href="http://www.microsoft.com/technet/security/tools/urlscan.mspx" target="_blank">http://www.microsoft.com/technet/security/tools/urlscan.mspx</a>

On IIS6, Web Service Extensions allow you control of which binaries can
execute (and also the extensions that they are scriptmapped to). MIME Type
Restriction allow you control of which static file can be downloaded.

In other words, it is impossible to do the following things with URLScan,
but it is easy with IIS6's built-in support:
1. Allow only foo.exe to run but not bar.exe or any other EXE
2. Allow the default document (whatever its extension) to execute but not
allow an extension-less URL to be executed or downloaded
3. Allow URLs with dots in them to be browsable, yet still block particular
URLs with dots in them.

--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Mike D" <anonymous.TakeThisOut@discussions.microsoft.com> wrote in message
news:184cb01c44a3f$c544ec00$a101280a@phx.gbl...
Looks like I need a "." in the allow extensions settings
for the default document to run.

Mike


 >-----Original Message-----
 >I am having some problems getting URLScan 2.5 running
 >properly on IIS6. I can't get the default doc to display
 >unless it is written out in the url. If I remove urlscan
 >from the server it is okay. The urlscan logs looks like
 >it is seeing a . in the url and rejecting the request
 >there is obviously no period in the url
 >
 >Help please
 >
 >Mike
 >
 >
 >http://ricweb3/default.asp output: Boo
 >
 >http://ricweb3/ output: The system cannot find the file
 >specified.
 >
 >code in default.asp
 ><%
 >response.write "Boo"
 >%>
 >
 >----------------------------------------------------
 >From urlscanlog:
 >[06-04-2004 - 09:08:20] Client at xxx.xxx.xxx.xxx: URL
 >contains extension '.', which is not specifically
allowed.
 >Request will be rejected. Site Instance='599050834', Raw
 >URL='/'
 >
 >
 >
 >------------------------------------------------
 >urlscan.ini settings
 >UseAllowExtensions=1
 >
 >[AllowExtensions]
 >;
 >; Extensions listed here are commonly used on a typical
 >IIS server.
 >;
 >; Note that these entries are effective
 >if "UseAllowExtensions=1"
 >; is set in the [Options] section above.
 >;
 >
 >..htm
 >..html
 >..txt
 >..jpg
 >..jpeg
 >..gif
 >..asp
 >------------------------------------------
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: URLSCAN on IIS6 config 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]