Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Bug#21525: apache: suexec security problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
gorgo  
View profile  
 More options Apr 22 1998, 3:00 am
Newsgroups: linux.debian.bugs.dist
From: go...@passenger.telnet.hu
Date: 1998/04/22
Subject: Bug#21525: apache: suexec security problem

Package: apache
Version: 1.3b6-1
Severity: important

IIRC previous versions of apache refused to run when there were configuration
directives requiring suexec wrapper in httpd.conf while suexec was not
configured properly. 1.3b6 just gives a warning in error log. So if somehow
suexec lost its setuid bit, all the users' cgis would run with the webserver
privileges and noone would notice. This is a security risk. So I propose the
following patch. Please forward it upstream.

--- http_core.c.save    Wed Apr 22 14:32:46 1998
+++ http_core.c Wed Apr 22 14:34:11 1998
@@ -1346,8 +1346,9 @@
        else {
            cmd->server->server_uid = ap_user_id;
            fprintf(stderr,
-               "Warning: User directive in <VirtualHost> "
+               "ERROR: User directive in <VirtualHost> "
                "requires SUEXEC wrapper.\n");
+           exit(1);    
        }
     }
 #if !defined (BIG_SECURITY_HOLE) && !defined (__EMX__)
@@ -1380,7 +1381,8 @@
        else {
            cmd->server->server_gid = ap_group_id;
            fprintf(stderr,
-                   "Warning: Group directive in <VirtualHost> requires SUEXEC wrapper.\n");
+                   "ERROR: Group directive in <VirtualHost> requires SUEXEC wrapper.\n");
+           exit(1);
        }
     }

-- System Information
Debian Release: 2.0 (frozen)
Kernel Version: Linux passenger 2.0.33 #3 Fri Apr 17 17:11:47 CEST 1998 alpha unknown

Versions of the packages apache depends on:
libc6.1 Version: 2.0.7pre1-4
libgdbmg1       Version: 1.7.3-24
mime-support    Version: 2.16-1
perl    Version: 5.004.04-5
base-passwd     Version: 2.0.3.2

--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »