httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33765] New: - htdigest creates digest files suid/sgid
Date Mon, 28 Feb 2005 07:04:18 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33765>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33765

           Summary: htdigest creates digest files suid/sgid
           Product: Apache httpd-2.0
           Version: 2.0.52
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: support
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: chris+apache@chrullrich.de


htdigest creates its digest files with both suid and sgid bits set. I traced its
execution and noticed that it actually tries to create the file with full 07777
permissions, but the FreeBSD kernel ignores sticky, because it's a regular file.

In htdigest.c is a call to apr_file_open() for the digest file, with -1 in the
perm argument.

htpasswd, which uses APR_OS_DEFAULT for the perm argument, creates its files
with proper permissions.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message