I'm having IIS (Microsoft-IIS/7.5) return back a 403 forbidden and I cannot figure out why. I've narrowed it down to %2F
but only when a single letter precedes it. Any idea what could be causing this?
These Work...
- http://example.com/mySite123/index.cfm?x=blah%2Fblah
- http://example.com/mySite123/index.cfm?x=blah%2F
- http://example.com/mySite123/index.cfm?x=123%2F
- http://example.com/mySite123/index.cfm?x=%2F
But if you put any single letter in front of the %2F
it fails with a 403.
These Fail...
- http://example.com/mySite123/index.cfm?x=a%2F
- http://example.com/mySite123/index.cfm?x=b%2F
- http://example.com/mySite123/index.cfm?x=c%2F
- ...
- http://example.com/mySite123/index.cfm?x=z%2F
- http://example.com/mySite123/anything.anything?anything=x%2Fanything
Thanks!
UPDATE: I have ruled out ColdFusion because this gives the same 403: http://example.com/mySite123/indexdotcfm?x=a%2F
UPDATE:
Top Level IIs:
Checked:
Allow unlisted file name extensions
Allow unlisted verbs
Allow high-bit characters
Unchecked:
Allow double escaping
Request Limits:
Maximum allowed content length (Bytes): 30000000 Maximum URL length (Bytes):
4096 Maximum query string (Bytes): 2048
Sites
mySite123:
Checked:
Allow unlisted verbs
Allow high-bit characters
Unchecked:
Allow unlisted file name extensions
Allow double escaping
Request Limits:
Maximum allowed content length (Bytes): 2147483647
Maximum URL length (Bytes): 4096
Maximum query string (Bytes): 2048
Deny URL
/CFIDE/Administrator
/CFIDE/adminapi
UPDATE: If I change the directory I'm hitting I can make the 403 change to a 404. Example:
This returns a 404 as expected: http://www.example.com/anything.anything?anything=x%2Fanything
This returns a 403: http://www.example.com/mySite123/anything.anything?anything=x%2Fanything
So is it safe to assume the 403 issue has something to do with the "mySite123" virtual directory setup?