🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30273

MIME long filename buffer overflow

#30273
From: Ken Weaverling
Date: Tue, 04 Aug 1998 00:00
41 lines
2208 bytes
There have been stories of late about a buffer overflow in some e-mail and
news clients with respect to long MIME attachment filenames. 

Details at:

Outlook: 
  http://www.microsoft.com/security/bulletins/ms98-008.htm

Netscape:
  http://www.netscape.com/products/security/resources/bugs/longfile.html

This apparently affects e-mail as well as news readers (although everyone
knows usenet is not *supposed* to be used for attachments :)

John Hardin developed a procmail filter to cleanse e-mail messages. I
hacked it to be usable in our system-wide procmailrc file.  That's a huge
help and worth our biggest thanks to the guy.

    http://www.wolfenet.com/~jhardin/html-trap.procmail

So, now, the question.  Does anyone have some sort of facility using 
INN (1.7) that can examine and cleanse incoming news messages (or would
the CPU hit be too expensive to make it worthwhile?)

It's easier to attack this once at the server, instead of trying to ensure
all clients are upgraded.

If there is nothing out there yet, what would be the best method of
developing this?  As a program feed that greps each message, and issues a
cancel for bad messages?  (Would it even be cancelable from the spool at
that point, or mighten it not even be "delivered" at that point?) Does INN
sport an incoming filter that can examine a message and reject it? 

A pointer would be appreciated. I'll attempt this myself if it's not done
already. This little bug has some big potentials to be the next big
Internet worm if not dealt with. 

Thanks. (followups directed to news.software.nntp)


Technical Details
Message-ID: <6q7nin$nbr$1@apache.dtcc.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.unix.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <6q7nin$nbr$1@apache.dtcc.edu>
Subject: MIME long filename buffer overflow
Date: Tue, 04 Aug 1998 00:00:00 +0000
From: weave@apache.dtcc.edu (Ken Weaverling)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.security.unix.mbox.zip!not-for-mail
X-Deja-AN: 377921568
Organization: Delaware Technical & Community College
Followup-To: news.software.nntp
Newsgroups: news.software.nntp,comp.security.unix