🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #61784

Re: There's more (was Re: Someone is sending head-only articles out to Usenet????

#61784
From: Curt Welch
Date: Mon, 04 Nov 2002 09:12
65 lines
4491 bytes
andrew@supernews.com wrote:
> This is incompatible with existing use of NNTP for text, because you're
> changing the first of those two CR LF sequences from being part of the
> data to being part of the delimiter.

No, I'm not.  You only think I'm saying that.  CR LF DOT CR LF ends the
data stream, but the first CR LF must be part of the the article becuse
that's how NNTP works.  This simply means you can send pure binary over
NNTP with the only limitation being that the article must end with CR LF.
Not perfect, but not something that can be "fixed" at this point without a
protocol change.

> (Adding or removing newlines may seem harmless ...

Oh, I agree. It's not harmless and you can't change that without causing
real probelms.  I'm not talking about changing anything.  I'm talking about
how NNTP should be done everywhere and how it already is done on most of
Usenet.

> Note that if the dot had been correctly escaped in the first place, then
> the problem would not have occurred _regardless_ of the interpretation of
> bare LF as a line terminator.

Right, I'm with you now.  I see all that.  It was all obvious to me once I
understood that Hogwasher was sending it without a dot escape in the first
place.

> > But that's not even the real problem here.  The real problem, as I

> > Have fun tracing where that stealth article came from.
>
> ooo. nice.

If all the highwind servers allow this, we are in trouble.

I've modified my server now to detect these and log them.  Once I've
finished testing hogwasher to confirm what it's doing, I'll change my
servers to block posts, and to drop all articles in transit with the DOT LF
danger.  But that's not going to help the rest of Usenet much.

Do you undertstand that this bug just made a few hundred or maybe a few
thousand servers "open feed servers to the world"?

And a variation will bring usent to it's knees?

Usenet could be in big trouble here.

> [back to the bare-LF religious issue]
>
> > But, because of this security issue, we need to fix all the wire-format
> > servers _now_.
>
> Hah. Very funny. (think about it: how many cyclones are there out there?
> What is the chance of them upgrading given UNS's licensing policies?)

Do you understant that my security issue is not related to the "religious"
part of the bare LF issue at all?  If highwind servers allow you to post
"CR LF DOT LF T" and transport it, Usenet is in trouble.  And I think what
just happened with this post on Easynews shows that the highwind servers do
allow this.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20021104041205.120$zl@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <20021102220425.532$Ov@newsreader.com> <us954gpfjs492a@corp.supernews.com> <20021102222437.838$Mm@newsreader.com> <slrnas967a.8p9.andrew+nonews@trinity.supernews.net> <20021102225642.902$eT@newsreader.com> <slrnas98f6.8p9.andrew+nonews@trinity.supernews.net> <20021102232508.136$0f@newsreader.com> <aq2alp$61b2a$1@ID-80930.news.dfncis.de> <20021103001847.653$nw@newsreader.com> <slrnas9drt.8p9.andrew+nonews@trinity.supernews.net> <20021103005855.983$iI@newsreader.com> <slrnas9fja.8p9.andrew+nonews@trinity.supernews.net> <20021103152721.486$ih@newsreader.com> <slrnasbhrd.8p9.andrew+nonews@trinity.supernews.net> <20021104005657.337$yO@newsreader.com> <slrnasccee.8p9.andrew+nonews@trinity.supernews.net>

Show Full Headers
Complete Article Headers
Message-ID: <20021104041205.120$zl@newsreader.com>
Subject: Re: There's more (was Re: Someone is sending head-only articles out to Usenet????
Date: Mon, 04 Nov 2002 09:12:05 +0000
From: curt@kcwc.com (Curt Welch)
References: <20021102220425.532$Ov@newsreader.com> <us954gpfjs492a@corp.supernews.com> <20021102222437.838$Mm@newsreader.com> <slrnas967a.8p9.andrew+nonews@trinity.supernews.net> <20021102225642.902$eT@newsreader.com> <slrnas98f6.8p9.andrew+nonews@trinity.supernews.net> <20021102232508.136$0f@newsreader.com> <aq2alp$61b2a$1@ID-80930.news.dfncis.de> <20021103001847.653$nw@newsreader.com> <slrnas9drt.8p9.andrew+nonews@trinity.supernews.net> <20021103005855.983$iI@newsreader.com> <slrnas9fja.8p9.andrew+nonews@trinity.supernews.net> <20021103152721.486$ih@newsreader.com> <slrnasbhrd.8p9.andrew+nonews@trinity.supernews.net> <20021104005657.337$yO@newsreader.com> <slrnasccee.8p9.andrew+nonews@trinity.supernews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!chi1.webusenet.com!rip!news.webusenet.com!feed3.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com ,@18j8yDj6DX_LDKRAMT3@1tOUbY68DP89Z9fMtfjTJ_wk
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 64