www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Frazer <m...@somanetworks.com>
Subject suexec/7466: Alias prevents suexec from wrapping cgi's
Date Mon, 26 Mar 2001 17:55:24 GMT

>Number:         7466
>Category:       suexec
>Synopsis:       Alias prevents suexec from wrapping cgi's
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar 26 10:00:00 PST 2001
>Originator:     mark@somanetworks.com
>Release:        1.3.12
Linux jimmy.yyz.somanetworks.com 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 unknown
RedHat 7.0, as distributed
I add the following alias to my httpd.conf
Alias /configuration/ /export/home/mjfrazer/public_html/configuration/

and the cgi scripts that are in that directory no longer get wrapped by
suexec.  Going to the scripts using
~mjfrazer/configuration/script.cgi works fine though.

Note that this could be a possible security issue if you want to give a user
an alias but keep the user from exec'ing programs under the httpd's uid/gid.
Add an alias to a directory in a user's web space.
If an alias is to a directory outside of the docroot, suexec should wrap all
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message