You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2002/05/15 22:53:03 UTC

DO NOT REPLY [Bug 9130] New: - Name of index file disclosed when invalid/unsupported method used for request

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9130>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9130

Name of index file disclosed when invalid/unsupported method used for request

           Summary: Name of index file disclosed when invalid/unsupported
                    method used for request
           Product: Apache httpd-1.3
           Version: 1.3.24
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tneill@pwot.co.uk


If an invalid or unsupported method is used to request a directory, the index 
file that would be returned is shown in the error.

Say, for example, instead of GET or POST I decide to use the method SPOON, 
which doesn't exist in Apache. I use SPOON instead of GET to request /dir/ in 
which lies a file index.shtml. If I do "GET /dir/" then I will get index.shtml 
parsed and sent, however I never know the full filename.

If, however, I do "SPOON /dir/" then I will get a 501 error containing the 
text "SPOON to /dir/index.shtml not supported".

Basically, I can tell the type of each index file, meaning I can tell if it's 
HTML, PHP, JSP etc., disclosing more information than I wanted.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org