[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] svnserve dropping root privileges

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2007-01-20 12:22:31 CET

Martin von Gagern wrote:
> To start svnserve you need access to the binary. If there is some
> security problem, it might just be possible for some malformed commit to
> modify this binary, which could lead to other problems. On the otherhand
> if you could start svnserve outside as root and then chroot and drop
> privileges in the same process, you wouldn't need the binary inside the
> chroot.
>
> I know this scenario is a bit far-fetched, but not far enough to
> invalidate the request.

This scenario isn't just far-fetched - it's actually wrong. You do *NOT*
need write access to the binary to start it.

Max.

Received on Sat Jan 20 12:22:58 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.