🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by James Brister Thu, 03 Apr 1997 00:00
ANNOUNCE: INN security notice #2.
#16662
Author: James Brister
Date: Thu, 03 Apr 1997 00:00
30 lines
1676 bytes

Another security hole has been found, this time in ALL versions of
INN. It's related to the previous one, and shows up when UCB Mail is used
as the definition of _PATH_MAILCMD in config.data. This is not a shell
quoting-inside-eval bug like the last one, but comes from the fact that UCB
Mail will open up a great yawning hole when it sees certain metacharacters
in an address (so one might argue it's not exactly an INN bug, but that
wouldn't help).

So. There's a new patch in

	ftp://ftp.isc.org/isc/inn/patches/security-patch.04

along with md5 and PGP signatures for the paranoid^H^H^H^H^H^H careful.

NOTE: If you have a version of INN prior to 1.5.1, then you need to apply
one of the other security patches (mentioned in a previous security
announcement) *before* trying to apply this new one (but you did that
already, didn't you? Good. Thought so).

The web page referenced in my signature has more details and also more
instructions on how to apply the patch if you need them.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: ANNOUNCE: INN security notice #2.
#16668
Author: Ragnar Lonn
Date: Fri, 04 Apr 1997 00:00
21 lines
1325 bytes
In article <slrn5k9rg4.25d.jon@black.oaktree.co.uk>, jon@oaktree.co.uk (Jon 
Ribbens) wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>
>James Brister <brister@vix.com> wrote:
>> along with md5 and PGP signatures for the paranoid^H^H^H^H^H^H careful.
>
>It'd be handy if the web page mentioned that it was your PGP key
>that was used, not the ISC's. It'd also be handy if you signed your
>public key, and perhaps got someone else to sign it to so there's
>some way of telling it's really yours.
>

On top of this, I can't find the file 'security-patch.04' in the mentioned
directory. I find the old security patches 01-03 but not the latest one. Where
did it go?

  /Ragnar, Algonet

Re: ANNOUNCE: INN security notice #2.
#16679
Author: Jon Ribbens
Date: Fri, 04 Apr 1997 00:00
31 lines
1426 bytes
-----BEGIN PGP SIGNED MESSAGE-----

James Brister <brister@vix.com> wrote:
> along with md5 and PGP signatures for the paranoid^H^H^H^H^H^H careful.

It'd be handy if the web page mentioned that it was your PGP key
that was used, not the ISC's. It'd also be handy if you signed your
public key, and perhaps got someone else to sign it to so there's
some way of telling it's really yours.

Cheers


Jon
____
\  //    Jon Ribbens    // 10MB virtual-hosted // www.oaktree.co.uk
 \// jon@oaktree.co.uk // web space for 49UKP //

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBM0TuAoMzEl4yn7LtAQEbwwQAvhKkEiBUdKn/gEjrOb2QN3d8AU4KZgp1
RN3398q2Pu1h5CXB872leZUNmbK8PSLZll2wdqMaDc2K8qpf43lU7JT6ecFKAIZH
4SDuX87tYW2ST9PaNqW9ZzNS+srimLyrJAQxfvP2tRyAMtToK+7ax0xvvAyXYZ1+
YTY2CBXNVQo=
=575a
-----END PGP SIGNATURE-----

Re: ANNOUNCE: INN security notice #2.
#16682
Author: James Brister
Date: Fri, 04 Apr 1997 00:00
16 lines
1087 bytes
jik@cam.ov.com (Jonathan I. Kamens) writes:

> Apparently, patch 4 was screwed up (grumble grumble grumble) so they
> fixed in and renamed it patch 5.

In my own defense, the systems I tested 04 on handled it fine. Someone
out there has a broken Bourne shell that couldn't deal with an undefined
variable, and brought it to my attention, so I made it be defined.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: ANNOUNCE: INN security notice #2.
#16690
Author: Jonathan I. Kamens
Date: Fri, 04 Apr 1997 00:00
58 lines
2693 bytes
In article <5i315u$hcq@epimetheus.algonet.se>, prl@algonet.se (Ragnar Lonn) writes:
|> On top of this, I can't find the file 'security-patch.04' in the mentioned
|> directory. I find the old security patches 01-03 but not the latest one. Where
|> did it go?

Apparently, patch 4 was screwed up (grumble grumble grumble) so they
fixed in and renamed it patch 5.  Here's the current contents of the
file security-patch.04 on the FTP site:

>The security patch has been moved. Get the new file security-patch.05. The
>PGP and MD5 signature are available. The PGP key used to sign is available
>by fingering brister@gw.home.vix.com , or from the public key servers (user
>id brister@vix.com)

And here's the diff between parsecontrol after applying patch 4, and
parsecontrol after applying the new patch 5 (i.e., here's what was
screwed up in patch 4 that is fixed in patch 5):

--- parsecontrol	1997/04/03 21:33:47	1.2
+++ parsecontrol	1997/04/04 15:00:47
@@ -36,6 +36,7 @@
 PATHHOST="$4"
 
 # Catch an address left with a leading '-' just in case...
+test -z "$MAILFAILURES" && MAILFAILURES=false
 case "X$FROM" in
     X-*) 
         if $MAILFAILURES; then
@@ -42,7 +43,7 @@
             ${SED} -e 's/^~/~~/' < ${ARTICLE} \
                 | ${MAILCMD} -s "Bad FROM address" ${NEWSMASTER}
         fi
-        cat ${ARTICLE} |
+        cat ${ARTICLE} | \
             writelog $MOST_LOGS/badcontrol.log "`date` Bad FROM address"
         exit
         ;;
@@ -54,9 +55,8 @@
             ${SED} -e 's/^~/~~/' < ${ARTICLE} \
                 | ${MAILCMD} -s "Bad REPLY-TO address" ${NEWSMASTER}
         fi
-        cat ${ARTICLE} |
-            writelog $MOST_LOGS/badcontrol.log "`date` Bad REPLY-TO
-address"
+        cat ${ARTICLE} | \
+            writelog $MOST_LOGS/badcontrol.log "`date` Bad REPLY-TO address"
         exit
         ;;
 esac

I suppose they'll soon be posting a followup announcement about the
change.

-- 
Jonathan Kamens  |  OpenVision Technologies, Inc.  |   jik@cam.ov.com

Re: ANNOUNCE: INN security notice #2.
#16695
Author: Charles R. Dennett
Date: Fri, 04 Apr 1997 00:00
16 lines
1327 bytes
In article <2n912yvne1.fsf@cclan.fuw.edu.pl>, Michal Jankowski <michalj@fuw.edu.pl> writes:
>prl@algonet.se (Ragnar Lonn) writes:
>I has now been replaced by a fixed patch security-patch.05



I got the new patch and applied it to parsecontrol.  I'm
wondering, however, if I should also apply it to parsecontrol
that appears in my INN 1.5.1 source tree.  I looked there to see
where it was and I found two copies, one in the site directory and
another in the samples these just to keep things consistant?

Charlie Dennett

Re: ANNOUNCE: INN security notice #2.
#16696
Author: Dave Barr
Date: Fri, 04 Apr 1997 00:00
14 lines
1084 bytes
In article <5i315u$hcq@epimetheus.algonet.se>,
Ragnar Lonn <prl@algonet.se> wrote:
>On top of this, I can't find the file 'security-patch.04' in the mentioned
>directory. I find the old security patches 01-03 but not the latest one. Where
>did it go?

You're not by chance ftp'ing to ftp.vix.com:/pub/inn?  That's a
different machine.  I'm not sure why, but it's a rather out-of-date
copy of ftp.isc.org:/isc/inn/

--Dave

Re: ANNOUNCE: INN security notice #2.
#16697
Author: James Brister
Date: Fri, 04 Apr 1997 00:00
23 lines
1267 bytes
dennett@cyber.kodak.com (Charles R. Dennett) writes:

> I got the new patch and applied it to parsecontrol.  I'm
> wondering, however, if I should also apply it to parsecontrol
> that appears in my INN 1.5.1 source tree.

Yes. Apply it to the copy in the samples directory and then

	cd ../site
	mv parsecontrol parsecontrol.pre-patch
	make

No need to 'make update' if you've already patched the installed
version. If you made private changes to the original parsecontrol in the
site directory, then you'll need to merge them back in.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Re: ANNOUNCE: INN security notice #2.
#16698
Author: Michal Jankowski
Date: Fri, 04 Apr 1997 00:00
14 lines
938 bytes
prl@algonet.se (Ragnar Lonn) writes:

> On top of this, I can't find the file 'security-patch.04' in the
> mentioned directory. I find the old security patches 01-03 but not
> the latest one. Where did it go?

That's just as well, since it was broken.

I has now been replaced by a fixed patch security-patch.05

 Michal

Re: ANNOUNCE: INN security notice #2.
#16709
Author: James Brister
Date: Fri, 04 Apr 1997 00:00
32 lines
1494 bytes
I said:

> So. There's a new patch in
> 
> 	ftp://ftp.isc.org/isc/inn/patches/security-patch.04

And sure enough, there are some systems out there that couldn't deal
with something in the patch, so I've generated a new one.

	ftp://ftp.isc.org/isc/inn/patches/security-patch.05

If you've applied the patch #4 already, then you can check your machine to see
if it has a problem by doing:

   sh -c 'PROG=newgroup ; /var/news/etc/parsecontrol usenet 
		usenet  /dev/null localhost'

(change the 'usenet' to your username if you don't want mail to go to that
account). If you dont get any shell syntax errors, then you're fine. You
should just get, at the most:

	Null message body; hope that's ok

and a message about bad headers logged to badcontrol.log

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium      http://www.isc.org     inn@isc.org 

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads