🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #37255

Re: some INN 2.2-stable issues

#37255
From: bill davidsen
Date: Wed, 05 May 1999 00:00
46 lines
2930 bytes
In article <7gprlk$21b$1@news1.epix.net>,
Forrest J. Cavalier III <mibsoft@mibsoftware.com> wrote:
| In article <87r9oym8wx.fsf@erlenstar.demon.co.uk>, andrew@erlenstar.demon.co.uk wrote...
| [snip]
| >
| >  Of course, another program that doesn't honour INNCONF is inndstart,
| >  which deletes it from the environment. I'm not sure if this would be a
| >  security hole or not (inndstart should only be executable by the news
| >  user anyway), but for now I've worked around the problem by running
| >  innd on a nonprivileged port and not using inndstart.
| 
| The security hole is that INNCONF sets what programs are executed.
| inndstart must be SUID root, and unless the code changed, inndstart
| then sets the UID based on the ownership of a directory.

But as he said, inndstart should not be runnable by everyone, and this
is just a tip of the problems if it is.

| This means that unless INNCONF is secure, you can get user news
| privs easily, (and that might be enough to get root as well.)
| 
| This was discussed on inn-workers@isc.org a while back, and that
| would be an appropriate forum to discuss the items you raised.

  Given the many policy issues discussed here, I don't think this is
appropriate. Implementation might be better discussed on the list, but
I think this is a valid issue here.

  Granted I don't see any great use for this, the hack is simple if you
want to allow it, the security is based on having only news able to run
the inndstart, and the usefulness of multiple innd versions on a single
machine seems pretty low. 

  The place this is useful is for multiple versions of nnrpd, and since
nnrpd in daemon mode lacks a -I flag to set the interface (why is
that?) this is not totally easy either.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  One common problem is mistyping an email address and creating another
valid, though unintended, recipient. Always check the recipient's
address carefully when sending personal information, such as credit
card numbers, death threats or offers of sexual services.


Technical Details
Message-ID: <7gqe8k$aj0$1@newssvr01-int.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <87r9oym8wx.fsf@erlenstar.demon.co.uk> <7gprlk$21b$1@news1.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <7gqe8k$aj0$1@newssvr01-int.news.prodigy.com>
Subject: Re: some INN 2.2-stable issues
Date: Wed, 05 May 1999 00:00:00 +0000
From: davidsen@tmr.com (bill davidsen)
References: <87r9oym8wx.fsf@erlenstar.demon.co.uk> <7gprlk$21b$1@news1.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 474489249
X-Complaints-To: abuse@prodigy.net
X-Trace: newssvr01-int.news.prodigy.com 925940820 10848 199.4.137.118 (5 May 1999 21:47:00 GMT)
Organization: TMR Associates, Schenectady NY
NNTP-Posting-Date: 5 May 1999 21:47:00 GMT
Newsgroups: news.software.nntp
Originator: davidsen@darkstar.prodigy.com