[5005] in WWW Security List Archive

home help back first fref pref prev next nref lref last post

Re: Security issues in Apache?

daemon@ATHENA.MIT.EDU (Paul Phillips)
Tue Apr 8 23:08:29 1997

Date: Tue, 8 Apr 1997 16:16:09 -0700 (PDT)
From: Paul Phillips <paulp@go2net.com>
To: Christopher Petrilli <petrilli@amber.org>
cc: Prentiss Riddle <riddle@is.rice.edu>, Richard Costine <rjc@n2k.com>,
        www-security@ns2.rutgers.edu
In-Reply-To: <199704071300.JAA08543@chaos.amber.org>
Errors-To: owner-www-security@ns2.rutgers.edu



On Mon, 7 Apr 1997, Christopher Petrilli wrote:

> If you're running it, I would recommend you run an absolute minimal 
> server on port 80, an run the rest on a totally untrusted port, like 
> 8080, thereby elimanting the need to even start the server as root.  This 
> would at least restrict the damage that could be done.

This buys you nothing.  A call to setuid() by root gives away its
root privileges forever and ever.  If something so fundamental to
the Unix permission model did not work properly, you'd be in extremely
deep water anyway.  There is nothing particularly "trusted" about
port 80 vs. port 8080, it's just a question of who can bind to it.

Are you suggesting that the server on port 80 turn around and issue
all its requests to port 8080? Even if there were some win to this,
you couldn't do it unless performance was an irrelevant consideration.
But, again, this buys you nothing (and introduces an unnecessary layer
of complexity.)

-- 
Paul Phillips      | If you have received a letter inviting you to speak at the
Master of Boggle   | dedication of a new cat hospital, and you hate cats, your
<paulp@go2net.com> | reply, declining the invitation, does not necessarily have
+1 206 447 1595    | to cover the full range of your emotions. --Elem. of Style


home help back first fref pref prev next nref lref last post