You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by v1...@priest.com on 2001/12/20 20:25:05 UTC
general/9212: cgi handling is not right
>Number: 9212
>Category: general
>Synopsis: cgi handling is not right
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Thu Dec 20 11:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: v13@priest.com
>Release: 1.3.9, 1,3,20, 1.3.22
>Organization:
apache
>Environment:
This is OS independend. Tested under Linux and win NT
>Description:
Apache tries to execute files named:
test.cgi.txt or test.cgi.html (others?) on directires with ExecCGI
(but not testcgi.txt)
>How-To-Repeat:
Define a directory with ExecCGI and put a test cgi in it.. do a chmod +x on it
http://host/dir/test.cgi will execute it..
rename it to test.txt
http://host/dir/test.txt will show its contents
rename it to test.lala.txt
http://host/dir/test.lala.txt will show its contents
rename it to test.cgi.txt
http://host/dir/test.cgi.txt will execute it.
do a chmod -x on it and it will give an internal server error
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]