[Dapper][Apache2] mod_auth_digest segfaults if user not in required group

Bug #145659 reported by Carsten Menke
Affects Status Importance Assigned to Milestone
Apache2 Web Server
In Progress
apache2 (Ubuntu)

Bug Description

Binary package hint: apache2

Apache segfaults if a user is not in a required group (it works if you use AuthType Basic)

So here is my setup

Directory which is protected


Options +Indexes

AuthType Digest
AuthName "Download Bereich"
AuthDigestFile /etc/apache2/htdigest
AuthDigestGroupFile /etc/apache2/htgroups
AuthDigestDomain /download/
Require valid-user # Also fiddled around with Require group download, same result

Directory which contains additional access level


Require group test

As soon if a user is not in the group "test" apache segfaults and you just get a white blank screen if you accessing the parent directory with the browser (/var/www/download)

-rw-r--r-- 1 www-data root 50 2007-09-27 05:18 /etc/apache2/htgroups
download: testuser
test: anotheruser

When I use the same files just with AuthType Basic, it works like expected, it also works if the the user *IS* in the group which is required

As the Version used in Dapper has no debugging symbols, nor is a -dbg version available I cannot provide a backtrace

Revision history for this message
Mathias Gug (mathiaz) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Thanks for posting a detailed test case. Could you specify how to create/generate the htdigest file ?

Changed in apache2:
importance: Undecided → Low
status: New → Incomplete
Changed in apache2:
status: Unknown → In Progress
Revision history for this message
Carsten Menke (carsten-menke) wrote :

The contents of the htgroups file looks like this:

download: user1 user2 user3

htdigest file is generated by:

htdigest2 -c /etc/apache2/htdigest "Download Bereich" user1

Chuck Short (zulcss)
Changed in apache2 (Ubuntu):
status: Incomplete → Triaged
Changed in apache2:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.