www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aidan Cully <ai...@panix.com>
Subject suexec/4069: SuEXEC doesn't work with mod_userdir as well as it should.
Date Wed, 17 Mar 1999 00:04:48 GMT

>Number:         4069
>Category:       suexec
>Synopsis:       SuEXEC doesn't work with mod_userdir as well as it should.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Tue Mar 16 16:10:01 PST 1999
>Originator:     aidan@panix.com
>Release:        1.3.5 -dev
NetBSD byzantium.nyc.access.net 1.3.2 NetBSD 1.3.2 (PANIX-STAFF) #0: Thu Sep 17 17:49:04 EDT
1998     marcotte@juggler.panix.com:/devel/netbsd/1.3.2/src/sys/arch/i386/compile/PANIX-STAFF
mod_userdir allows an admin to dissociate the /etc/passwd home directory
for a user from the doc that gets returned on a ~username URL request.
SuEXEC only understands the (typical) ~user/public_html/ as a docroot for
individual users, and won't execute requests outside that directory.
In httpd.conf:
UserDir /htdocs/userdirs/
put a CGI-script under that userdir, and try to GET it
modify util_script.c to never pass the '~' on the command line to
SuEXEC, and remove the ~user/public_html check from SuEXEC, when an
appropriate directive is in the httpd.conf for the request.  If y'all
accept the patch I recently sent in, the flag already exists in the
URIOwner config directive.
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[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