🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8538

Re: verifying userid

#8538
From: John Line
Date: Sat, 16 Apr 1994 10:56
93 lines
5958 bytes
In article <1994Apr15.145300.718@rhodes>,
Rutschman <rutschman@rhodes.edu> wrote:
>We run InterNews 1.0 on Macintosh computers in our labs, and our News
>server is running on a VAX 6300.  We are concerned that individuals can
>post to a newsgroup  with InterNews using another person's username.  I
>noticed in the header of a message that was posted
>"sender:-not-authenticated".  How is the sender authenticated?  I
>greatly appreciate your suggestions, Judith

Sorry, but your onto a loser here...

Two points:

(1) News in general provides no authentication. Essentially anyone can forge
articles from anyone else. Depending on how it's done, there may be clues (e.g.
the Path: line may make it clear that an article allegedly from one of your
users originated at another site), but if your Macs have telnet and can call an
arbitrary TCP port, any user who cares to read the protocol specs can forge an
article appearing to come from anyone else who might normally use that Mac
without it being detectable as a forgery. Depending on local configuration
details on the news server etc., it may be possible to do it from any system
which has posting access to your news server.

(2) The "authentication" offered by InterNews is brain-damaged beyond belief.
When it's used, it provides a false sense of authenticity, and when it's not
used, the news articles posted by InterNews are in breach of the header syntax
specifications! (I was asked, as local news server manager, to comment on the
choice between InterNews and Newswatcher for our local PC/Mac networks, and
InterNews was ruled out in large part because of this lunacy)

To elaborate:

The "authentication" that InterNews offers can be done by various means, such
as InterNews calling an IMAP server (one of the varieties of remote-access mail
server) and checking that you can quote a valid username/password pair for that
server. In that case, it inserts an "authenticated" header in the news article
identifying you as the person for whom you quoted the right password, but that
is absolutely worthless.

As noted above, anyone forging news via telnet could insert an X-Authenticated:
(or whichever name InterNews uses) header, making it meaningless. That aside,
anyone who trusted assertions of authenticity from an inherently untrustworthy
client (the user of a PC or Mac typically has complete control over anything it
sends, potentially if not actually) needs to learn a bit (or a lot) about the
realities of networks and security/authentication.

Even if the server did the authentication, it would be fairly meaningless,
since people elsewhere wouldn't know that the server actually did any
meaningful authentication and could itself be trusted, or that the article
hadn't been forged elsewhere to appear to come from that server (esp. if forged
on one of the adjacent servers, so the Path: header was 100% plausible).

Worse, in a sense, is that if you do not use any of these worthless
authentication techniques, InterNews inserts a Subject: header (instead
of a different, "user-defined" header) which contains a syntactically invalid
mail address.

If present, Sender: is *required* to contain a valid mail address, and
InterNews is in breach of the standards by putting the "-not-authenticated"
string there. As we saw locally while testing InterNews, this has the knock-on
effect that any news postings with such a header are likely to get junked

(a) if they are posted to a moderated newsgroup (when the article is
immediately mailed to the group moderator), and

(b) if they are posted to a newsgroup which is gatewayed to/from a mailing
list.

In the former case, they'll just be lost without trace (or maybe get an error
report mailed back to the user). In the latter case, they'll reach news sites
(as long as their server software doesn't bother checking Sender:), but will
almost certainly get rejected at the news-mail gateway so that members of the
corresponding mailing lists will never see the articles.

(The Internet RFC document defining news header format is not a formal Internet
standard, but since it documented the de facto standard (subject to subsequent
evolution...), if you want your articles to be accepted by other servers and
distributed widely, you need to conform. The mail header format *is* a formal
Internet standard, and any news-mail gateway which relayed your articles on
into the mail world with the invalid Sender: fields ought to be fixed
immediately... I suspect/hope most gateways would discard such articles.)

In summary, regardless of its other features, InterNews' attempt at providing
some "proof" of authenticity is flawed from the outset (assertions from an
untrustworthy system are meaningless) and in the sense that it results in
syntactically invalid article headers, its means of reporting that
authentication has not been used is even worse!

                                John Line
-- 
John Line - Cambridge University Computing Service, Computer Laboratory,
            New Museums Site, Pembroke Street, Cambridge CB2 3QG, ENGLAND.
Internet: jml4@cus.cam.ac.uk  JANET: jml4@uk.ac.cam.cus  Phone: +44 223 334708
Technical Details
Message-ID: <2oog9k$2mh@lyra.csx.cam.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!yale!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!jml4
References: <1994Apr15.145300.718@rhodes>

Show Full Headers
Complete Article Headers
Message-ID: <2oog9k$2mh@lyra.csx.cam.ac.uk>
Subject: Re: verifying userid
Date: Sat, 16 Apr 1994 10:56:52 +0000
From: jml4@cus.cam.ac.uk (John Line)
References: <1994Apr15.145300.718@rhodes>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!yale.edu!yale!zip.eecs.umich.edu!newsxfer.itd.umich.edu!gatech!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!jml4
Newsgroups: news.software.readers
Organization: Computing Service, Cambridge University, England
Lines: 93
NNTP-Posting-Host: grus.cus.cam.ac.uk