🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
100 messages
100 total messages Page 1 of 2 Started by Andrea Buzzi Tue, 22 Jul 1997 00:00
Page 1 of 2 • 100 total messages
innd 1.6 ?!?!?!
#19504
Author: Andrea Buzzi
Date: Tue, 22 Jul 1997 00:00
183 lines
7472 bytes

Hi,

i have received the following note who suggest to install 1.6 version
who is actually in beta.
What do you think about it ?

Andrea

			   ---***---***---

 > -----BEGIN PGP SIGNED MESSAGE-----
 > 
 >                        ######    ##   ##    ######
 >                        ##        ###  ##      ##
 >                        ######    ## # ##      ##
 >                            ##    ##  ###      ##
 >                        ###### .  ##   ## .  ######.
 > 
 >                            Secure Networks Inc.
 > 
 >                             Security Advisory
 >                               July 21, 1997
 > 
 >                      INN news server vulnerabilities
 > 
 > This advisory addresses a number of vulnerabilities present in all
 > versions of INN prior to version 1.6.
 > 
 > 
 > Problem Description:
 > ~~~~~~~~~~~~~~~~~~~~
 > 
 > A number of vulnerabilities exist in all versions of INN prior to
 > version 1.6 which allow remote individuals to obtain access to
 > vulnerable systems.  Post access is required to exploit these
 > vulnerabilities.  However, due to the method with which news is
 > propagated, once a single server has been broken into, all of its
 > peers can be accessed.
 > 
 > 
 > Technical Details:
 > ~~~~~~~~~~~~~~~~~~
 > 
 > A number of string copies within the INN news server fail to check
 > the size of data they are copying.  This results in buffer overflows
 > in several locations, allowing individuals to execute commands
 > remotely, including spawning a shell on the NNTP port.
 > 
 > An example of this situation is in the processing of the "From: "
 > line by the nnrpd process.  In the ARTpost function in post.c, the
 > From: line is copied into a buffer on the stack without performing
 > bounds checking:
 > 
 > STRING
 > ARTpost(article, idbuff)
 >     ...
 >     char                buff[NNTP_STRLEN + 2], frombuf[SMBUF];
 >     ...
 >     strcpy(frombuf, HDR(_from));
 >     ...
 > 
 > By crafting appropriate arguments in the From: header of the message,
 > an attacker can cause nnrpd to overwrite its stack, overwrite
 > the function return pointer on the stack, and thus execute arbitrary
 > binary code.
 > 
 > 
 > Vulnerable Operating Systems and Software
 > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 > 
 > All versions of INN prior to version 1.6 are vulnerable.  To determine
 > which version of INN you are running, issue the following command on
 > your news server:
 > 
 > % telnet localhost 119
 > 
 > Your NNTP server version string will be displayed.  A typical output from
 > a vulnerable NNTP server would read:
 > 
 > Trying 127.0.0.1...
 > Connected to localhost.
 > Escape character is '^]'.
 > 200 freebsd.secnet.com InterNetNews NNRP server INN 1.5.1 17-Dec-1996 ready
 > 
 > A line reading:
 > 
 > telnet: Unable to connect to remote host: Connection refused
 > 
 > means that you are not running an NNTP server.
 > 
 > 
 > Fix Information
 > ~~~~~~~~~~~~~~~
 > 
 > INN version 1.6 has been made availible at ftp://ftp.isc.org/isc/inn.  A
 > fix will not be made availible for prior releases and it is suggested that
 > all users running INN upgrade to version 1.6 immediately.
 > 
 > Please note that INN version 1.6 is currently in beta testing stages,
 > therefore new versions may appear at this location in the future.
 > 
 > 
 > Additional Information
 > ~~~~~~~~~~~~~~~~~~~~~~
 > 
 > Secure Networks Inc. wishes to thanks James Brister <brister@isc.org > for
 > his assistance in this advisory and a resolution to these problems.
 > 
 > You can contact Secure Networks Inc. at <sni@secnet.com > using the
 > following PGP key:
 > 
 > Type Bits/KeyID    Date       User ID
 > pub  1024/9E55000D 1997/01/13 Secure Networks Inc. <sni@secnet.com >
 >                               Secure Networks <security@secnet.com >
 > 
 > - -----BEGIN PGP PUBLIC KEY BLOCK-----
 > Version: 2.6.3ia
 > 
 > mQCNAzLaFzIAAAEEAKsVzPR7Y6oFN5VPE/Rp6Sm82oE0y6Mkuof8QzERV6taihn5
 > uySb31UeNJ4l6Ud9alOPT/0YdeOO9on6eD1iU8qumFxzO3TLm8nTAdZehQSAQfoa
 > rWmpwj7KpXN/3n+VyBWvhpBdKxe08SQN4ZjvV5HXy4YIrE5bTbgIhFKeVQANAAUR
 > tCVTZWN1cmUgTmV0d29ya3MgSW5jLiA8c25pQHNlY25ldC5jb20+iQCVAwUQM1yd
 > EB/bLKAOe7p9AQFptAQAiYpaZCpSmGgr05E698Z3t5r5BPAKUEtgvF53AvZUQLxz
 > ZsYsVU5l5De0qKWJOQ/9LiDyWu1lvKhlTphbLy2RatWD4kO3oQL9v3TpSXm2WQhU
 > uIzyZvj7S5ENodNnKn+gCDIvbou6OMot+7dRbWWgN2oabbru4CSlOxbG++yaTz+J
 > AJUDBRAzTefbtOXez5VgyLkBAd0bA/43eGEgvPOFK+HHWCPpkSWCwtrtDU/dxOVz
 > 9erHnT/CRxeojCI+50f71Qe+kvx9Q1odz2Jl/fLxhnPQdbPnpWblIbu4F8H+Syrj
 > HTilDrl1DWa/nUNgK8sb27SMviELczP1a8gwA1eo5SUCG5TWLLTAzjWOgTxod2Ha
 > OwseUHmqVIkAlQMFEDNOVsr/d6Iw8NVIbQEBxM0D/14XRfgSLwszgJcVbslMHm/B
 > fF6tHoWYojzQle3opOuMYHNN8GsMZRkc1qQ8QuNA9Aj5+qDqEontGjV5IvhBu1fY
 > FM77AhagskaFCZxwqV64Qrk328WDO89NGSd+RuovVNruDdn20TxNCEVuPTHjI0UA
 > 8H+E6FW9jexg6RTHhPXYtCVTZWN1cmUgTmV0d29ya3MgPHNlY3VyaXR5QHNlY25l
 > dC5jb20+iQCVAwUQMtqTKB/bLKAOe7p9AQFw5wQAgUwqJ+ZqfEy/lO1srU3nzxLA
 > X0uHGHrMptRy/LFo8swD6G1TtWExUc3Yv/6g2/YK09b5WmplEJ+Q09maQIw+RU/s
 > cIY+EsPauqIq4JTGh/Nm0Z4UDl2Y1x4GNtm0YqezxUPS0P0A3LHVLJ3Uo5og0G8O
 > gPNrfbVz5ieT14OSCWCJAJUDBRAy2hd2/3eiMPDVSG0BAVNhBACfupfAcNhhnQaq
 > aI03DOOiZSRjvql1xw4V+pPhM+IksdSK3YNUZVJJtANacgDhBT+jAPRaYbBWI3A5
 > ZMdcSNM8aTG0LWMLIOiOYEm6Lgd3idRBFN0Js08eyITl8mhZ33mDe4I0KQri9UiV
 > ZcPYTbb9CWM6Hv2cMbt6S6kLnFziqIkAlQMFEDLaF0+4CIRSnlUADQEBCLoEAJwt
 > UofDgvyZ4nCDx1KKAPkkXBRaPMWBp46xeTVcxaYiloZfwHfpk1h2mEJAxmAsvizl
 > OtIppHl4isUxcGi/E2mLCLMvis22/IQP/9obPahPvgNaMLVtZljO1Nv3QFEkNciL
 > FEUTNJHR1ko7ibCxkBs4cOpirFuvTMDvWnNaXAf8
 > =DchE
 > - -----END PGP PUBLIC KEY BLOCK-----
 > 
 > You can find past Secure Networks advisories at
 > http://www.secnet.com/advisories or at ftp://ftp.secnet.com/pub/advisories
 > 
 > You can browse our web site at http://www.secnet.com
 > 
 > You can subscribe to our security advisory mailing list by sending
 > mail to majordomo@secnet.com with the line "subscribe sni-advisories"
 > 
 > 
 > Copyright Notice
 > ~~~~~~~~~~~~~~~~
 > 
 > The contents of this advisory are Copyright (C) 1997 Secure Networks
 > Inc, and may be distributed freely provided that no fee is charged
 > for distribution, and that proper credit is given.
 > 
 > 
 > -----BEGIN PGP SIGNATURE-----
 > Version: 2.6.3ia
 > Charset: noconv
 > 
 > iQCVAwUBM9PVqbgIhFKeVQANAQGUagQAqnL7UA63jBHVjENXgB9+wMxoiCXZD0Me
 > a4ZtLdw2EYTs9Pk9XylCjyqsLzG/O3yb//xkAaBZ3FVuraiunIC8oNt/o/BWZptO
 > dYNUG8EJsrQE9Ea/rtJuX8F63ZJfGMTzGGEVzZm6Ue35mS1x6oyrrPeV7kfnXdaw
 > MyWwElgzYI0=
 > =pZI6
 > -----END PGP SIGNATURE-----
-- 
      __
     //\\__      Andrea Buzzi           E-Mail: sez@dsi.unimi.it
    //  \\\\     P.za S. Giuseppe 9             sez@psycho.usr.dsi.unimi.it
  ---    - \\    20162 Milano (I)               ab428692@silab.dsi.unimi.it
 // 
//   http://www.silab.dsi.unimi.it/~ab428692    http://149.132.130.35/~sez

DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19445
Author: Matt Dillon
Date: Tue, 22 Jul 1997 00:00
25 lines
1478 bytes
    There are serious problems with 1.6, I would suggest not installing
    either 1.6 or 1.6b1 until they have been fixed.

    Probably the most serious in 1.6b1 is that nnrpd returns the '200 ...'
    startup message twice, which confuses the hell out of newsreaders.

    Innd or nnrpd also appears to have a memory corruption problem somwhere,
    and gets confused with the grouplist for news postings (at least mine did,
    I suppose it could be something in my config but I'm using virtually
    the same config as I did for 1.5.x so it's highly suspect).

    --

    In anycase, what I would like to see is a security patch for 1.5.x.  So
    many source code changes were made in 1.6* that I can't determine which
    are general cleanup, which are additions, and which address the security
    hole.

    I've gone back to 1.5.x for now.

						-Matt


Re: innd 1.6 ?!?!?!
#19446
Author: Bettina Fink
Date: Tue, 22 Jul 1997 00:00
48 lines
2289 bytes
brian moore <bem@news.cmc.net> wrote:

>> Well, I believe the new MOTD feature stops a lot of newsreaders from
>> working properly.  I can`t get it to work with Netscape v3.01, Internet
>> Explorer 3 news or pine :-(
>
> Weird, nnrpd 1.6 works fine here after two changes: it was printing a double
> banner (look at nnrpd/nnrpd.c around line 750 or so and you'll see why).

The in.nnrpd-1.6 also doesn't work here:

| tin 1.3 unoff BETA release 970314 [UNIX] (c) Copyright 1991-94 Iain Lea.
| Reading config file...
| Connecting to wuff.mayn.de...
| Reading groups from active file... Active file corrupt - Subject:
| Active file corrupt - From:
| Active file corrupt - Date:
| Active file corrupt - Message-ID:
| Active file corrupt - References:
| Active file corrupt - Bytes:
| Active file corrupt - Lines:
| Active file corrupt - Xref:full
|
| /usr/lib/news/active contains no newsgroups. Exiting.

That are the lines from overview.fmt, but it makes no sense...or
I am to blind after spending the whole afternoon with INN-1.6... 

slrn has also a problem, it starts up but if you want to post, it
tells you "No posting".

At the moment I am using nnrpd-1.5.1, it works for me.

> innd, on the other hand doesn't work, it coredumps within 10 minutes of
> startup and expire seems to have a similar problem.  Using the 1.5.1 innd
> and expire fixed that, but is not the solution.

innd works perfectly fine, expire too. No problems. Only the <censored>
nnrpd is making trouble...

The system is a linux-2.0.29, Dual PPro 200.

-- 
   newsmaster@mayn.de                           laura@caissa.mayn.de 
   GeFoekoM e.V. / Buergernetz Wuerzburg        (private)

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19456
Author: Bettina Fink
Date: Tue, 22 Jul 1997 00:00
75 lines
3666 bytes
Matt Dillon <dillon@best.net> wrote:

>     Probably the most serious in 1.6b1 is that nnrpd returns the '200 ...'
>     startup message twice, which confuses the hell out of newsreaders.

Yes, as I posted, tin and slrn were going crazy here, but after a little fix
in nnrpd.c (thanks to Brian Moore) it worked.

>     Innd or nnrpd also appears to have a memory corruption problem somwhere,
>     and gets confused with the grouplist for news postings (at least mine did,
>     I suppose it could be something in my config but I'm using virtually
>     the same config as I did for 1.5.x so it's highly suspect).

Yes again, my INN-1.6b1 died too, without any error message, after ~6 hours,
before that it worked properly.

Other problem here:

(/var/spool/news/out.going/)
[...]
-rw-rw-r--   1 news     news          140 Jul 22 20:21 aba.work
-rw-rw-r--   1 news     news          195 Jul 22 20:21 abad.work
-rw-r--r--   1 news     news          212 Jul 22 19:40 abado.uucp
-rw-rw-r--   1 news     news          439 Jul 22 20:21 abado.work
-rw-rw-r--   1 news     news          539 Jul 22 19:20 abadon.work
-rw-r--r--   1 news     news         2318 Jul 22 20:41 abadonn.uucp
-rw-rw-r--   1 news     news          120 Jul 22 20:21 abadonn.work
-rw-rw-r--   1 news     news         1070 Jul 22 19:20 abadonna..work
-rw-rw-r--   1 news     news         2633 Jul 22 19:20 abadonna.f.work
-r--r--r--   1 news     news            0 Jul 22 21:41 abadonna.franken.de
-rw-rw-r--   1 news     news          801 Jul 22 20:21 abadonna.work
[...]

This sites name is "abadonna.franken.de", we are using buffchan as
exploder.

Error messages then (it looks like is stuttering):

[...]
Jul 22 20:41:25 wuff batcher abad 4000000 bytes with gzip
sendbatch:  Can't flush abad.
Jul 22 20:41:26 wuff batcher abadonn 4000000 bytes with gzip
sendbatch:  Can't flush abadonn.
Jul 22 20:41:26 wuff batcher abadonna.franken.de 4000000 bytes with gzip
Jul 22 20:41:35 wuff batcher abbuzze.mayn.de 4000000 bytes with compress
[...]

Jul 22 19:45:11 wuff batcher cow.mayn.de 6000000 bytes with compress
Jul 22 19:45:43 wuff batcher cubu 54000000 bytes with gzip
sendbatch:  Can't flush cubu.
Jul 22 19:45:45 wuff batcher cubus 54000000 bytes with gzip
sendbatch:  Can't flush cubus.
Jul 22 19:45:46 wuff batcher cubus. 54000000 bytes with gzip
sendbatch:  Can't flush cubus..
Jul 22 19:45:46 wuff batcher cubus.f 54000000 bytes with gzip
sendbatch:  Can't flush cubus.f.
Jul 22 19:45:47 wuff batcher cubus.fr 54000000 bytes with gzip
sendbatch:  Can't flush cubus.fr.
Jul 22 19:45:48 wuff batcher cubus.fran 54000000 bytes with gzip
sendbatch:  Can't flush cubus.fran.
Jul 22 19:45:49 wuff batcher cubus.franken.de 54000000 bytes with gzip
Jul 22 19:46:23 wuff batcher dawn.mayn.de 6000000 bytes with compress
[...]


>     In anycase, what I would like to see is a security patch for 1.5.x. 

Yes...

-- 
   newsmaster@mayn.de                           laura@caissa.mayn.de 
   GeFoekoM e.V. / Buergernetz Wuerzburg        (private)

Re: innd 1.6 ?!?!?!
#19470
Author: Dan Foster
Date: Tue, 22 Jul 1997 00:00
35 lines
1717 bytes
In article <5r21gd$24r$1@pluto.sm.dsi.unimi.it>,
Andrea Buzzi <sez@dsi.unimi.it> wrote:

>i have received the following note who suggest to install 1.6 version
>who is actually in beta.
> > 
> > All versions of INN prior to version 1.6 are vulnerable.
> > 
> > Fix Information
> > ~~~~~~~~~~~~~~~
> > 
> > INN version 1.6 has been made availible at ftp://ftp.isc.org/isc/inn.  A
> > fix will not be made availible for prior releases and it is suggested that
> > all users running INN upgrade to version 1.6 immediately.

Considering this... be like Mike...

Just Do It.

:)

(Unless you don't mind being insecure and poisoning your feeds that aren't
at 1.6 too)

Personally, I have no real problem with going to 1.6b1 immediately... the code
base looks reasonable, it's just a subst -f <old config.data> config.data to
update default values in the new config.data (*and* perusing it as well),
applying about 12 patches, and then ta-da, I got myself a 1.6b1 server in a
2 minute build. No real pain/agony involved.

-Dan Foster
Internet: dsf@frontiernet.net

Re: innd 1.6 ?!?!?!
#19479
Author: Michal Jankowski
Date: Tue, 22 Jul 1997 00:00
22 lines
1306 bytes
sez@dsi.unimi.it (Andrea Buzzi) writes:

> i have received the following note who suggest to install 1.6 version
> who is actually in beta.
> What do you think about it ?

IMHO, it's a bad idea. The older versions (perhaps even as old as
1.4-whatever) should be patched first.

Changing strcpy to strncpy (or something similar) in proper places
should be trivial for anyone who actually knows where those bugs are -
and it is clear from the advisory that ISC _does_ know that.

I don't understand why they don't want to make patches - and, of
course, _we_ are free to make patches ourserlves, but we'd have to
find all those bugs first, and I really don't like to rediscover the
wheel. 8-)

  MJ

Re: innd 1.6 ?!?!?!
#19487
Author: Jason Brown
Date: Tue, 22 Jul 1997 00:00
19 lines
1097 bytes
Andrea Buzzi wrote:
> 
> Hi,
> 
> i have received the following note who suggest to install 1.6 version
> who is actually in beta.
> What do you think about it ?
Well, I believe the new MOTD feature stops a lot of newsreaders from
working properly.  I can`t get it to work with Netscape v3.01, Internet
Explorer 3 news or pine :-(

According to the CHANGES file some of the networking code has been
reworked.  At a guess, most of the changes are the old apb patches for
allowing faster connections.

Jason.

Re: innd 1.6 ?!?!?!
#19498
Author: Bettina Fink
Date: Tue, 22 Jul 1997 00:00
36 lines
1732 bytes
Me wrote:

> brian moore <bem@news.cmc.net> wrote:
>> Weird, nnrpd 1.6 works fine here after two changes: it was printing a double
>> banner (look at nnrpd/nnrpd.c around line 750 or so and you'll see why).
>
> The in.nnrpd-1.6 also doesn't work here:
> | Connecting to wuff.mayn.de...
> | Reading groups from active file... Active file corrupt - Subject:
> | Active file corrupt - From:
[...]
> | /usr/lib/news/active contains no newsgroups. Exiting.

Problem solved, thanks.

It's really nnrpd.c:

"nnrpd.c" line 750 of 900 --83%-- col 1:

#if 0
    Reply("%d %s InterNetNews NNRP server %s ready (%s).\r\n",
           PERMcanpost ? NNTP_POSTOK_VAL : NNTP_NOPOSTOK_VAL,
           MyHostName, INNVersion(),
           PERMcanpost ? "posting ok" : "no posting");
#endif


It makes me nervous, but at my server INN-1.6 works completely
fine now. :-) We'll see...

-- 
   newsmaster@mayn.de                           laura@caissa.mayn.de 
   GeFoekoM e.V. / Buergernetz Wuerzburg        (private)

Re: innd 1.6 ?!?!?!
#19499
Author: brian moore
Date: Tue, 22 Jul 1997 00:00
51 lines
2811 bytes
In article <33D4D04A.1530465F@interalpha.co.uk>,
	Jason Brown <jbrown@interalpha.co.uk> writes:
> Andrea Buzzi wrote:
>> 
>> Hi,
>> 
>> i have received the following note who suggest to install 1.6 version
>> who is actually in beta.
>> What do you think about it ?
> Well, I believe the new MOTD feature stops a lot of newsreaders from
> working properly.  I can`t get it to work with Netscape v3.01, Internet
> Explorer 3 news or pine :-(

Weird, nnrpd 1.6 works fine here after two changes: it was printing a double
banner (look at nnrpd/nnrpd.c around line 750 or so and you'll see why).

Posting had a problem with clients that don't supply a Date: line and let
the server stamp it, but that was fixed by changing the snprintf in post.c
back to a sprintf (since it knows the size of the final date line it makes
that's still safe).

innd, on the other hand doesn't work, it coredumps within 10 minutes of
startup and expire seems to have a similar problem.  Using the 1.5.1 innd
and expire fixed that, but is not the solution.

> According to the CHANGES file some of the networking code has been
> reworked.  At a guess, most of the changes are the old apb patches for
> allowing faster connections.

Actually, there are also a PILE of sprintf changed to snprintf.  Some are
needlessly paranoid (like the server date stamp, since it KNOWS the max
length of its own stamp and can allocate space accordingly), and some are
probably mandatory.

I just wish 1.6 was stable enough to use.  The new nnrpd is quite nice
(note my headers :)), though and I'll stick with it.

The ISC should also include a copy of snprintf in the distribution and add
a 'NEED_SNPRINTF' or something to the config, since many systems don't
have it.

I have a working one I stole from the Bugtraq archives if they want it.
(Works fine after changing the name of things around a bit, adding a
#define and moving it into libinn.)

-- 
Brian Moore                      The opinions expressed above are my own, not
Sysadmin, C/Perl Hacker          necesarily my employers'.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19507
Author: Michal Jankowski
Date: Tue, 22 Jul 1997 00:00
15 lines
979 bytes
dillon@best.net (Matt Dillon) writes:

> 
>     In anycase, what I would like to see is a security patch for 1.5.x.  So
>     many source code changes were made in 1.6* that I can't determine which
>     are general cleanup, which are additions, and which address the security
>     hole.
> 

Exactly.

  M.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19511
Author: Nathan J. Mehl
Date: Wed, 23 Jul 1997 00:00
30 lines
1807 bytes
On 23 Jul 1997 09:37:08 +0200, James Brister <brister@vix.com> wrote:
>dillon@best.net (Matt Dillon) writes:
>
>>     In anycase, what I would like to see is a security patch for 1.5.x.
>
>That won't be happening. There's too much involved to try and support
>patched multiple version.

So for those of us who maintain INN in a production environment, our
choice is between running a completely compromised release version,
or a rushed first beta of dubious quality (with enough significant
operational changes that it's not at all a drop-in replacement)?

Do you understand the Hobson's Choice you are forcing on us?

I know, I know -- it's free software, and I get the support I pay
for.  Maybe it's time to take a second look at DNEWS.  (No, Pugmire,
that is NOT an invitation for you to spam me with your "FAQ" again.)

-n

-- 

------------------------------------------------------<memory@blank.org>
"Bedford has never ever heard of Salvador Dali.  Which is perfectly all
right.  Salvador Dali and fifty cents will get you a cup of clock melt."
<http://www.blank.org/memory/>------------------------------------------

Re: What changed 1.6 vs 1.5.1 (preliminary)
#19513
Author: Richard Michael Todd
Date: Wed, 23 Jul 1997 00:00
33 lines
2467 bytes
mibsoft@epix.net (Forrest J. Cavalier III) writes:
> 
> But if the liberal changing of snprintf is any indication, I
> bet there are lots of strcpy()s which were safe that got
> arbitrarily changed.

Worse; there were at least two strcpy()s which, while they may have been 
unsafe, got replaced by strncpy()s with *wrong string lengths*, which 
*definitely* leads to coredumps given the behaviour of strncpy() in always
zerofilling the rest of the buffer.  (As I recall, strncpy() at one
time didn't do that, but the BSDI strncpy and the FreeBSD strncpy do; I 
assume this rather dubious innovation is a POSIXism.)  Trading off a possible
security hole in return for ctlinnd and expire coredumping every other time
they run doesn't seem like an overly good tradeoff to me. 

> I think it really is an overstatement to say a stack buffer
> overrun could be used to "execute arbitrary binary code."
> There are so many variable involved that I really don't see
> it as a risk.  There are so many variables involved of stack
> pointer location, compiler choice, INN options, etc, not to
> mention CPU instruction set, that I can't see how this hole
> could be exploited realistically.

Yeah.  In practice, barring someone actually showing an exploit script
for INN for some common platform (e.g., FreeBSD), I'd worry a lot more 
about someone finding another hole in, say, the control message handler 
(that being where the previous N security holes in INN have been), than 
someone making use of any of these buffer-overflow problems in INN to get
anything other than a coredump.  


Re: innd 1.6 ?!?!?!
#19515
Author: tmiller
Date: Wed, 23 Jul 1997 00:00
36 lines
1888 bytes
>                      INN news server vulnerabilities
> 
> This advisory addresses a number of vulnerabilities present in all
> versions of INN prior to version 1.6.
> 
> 
> Problem Description:
> ~~~~~~~~~~~~~~~~~~~~
> 
> A number of vulnerabilities exist in all versions of INN prior to
> version 1.6 which allow remote individuals to obtain access to
> vulnerable systems.  Post access is required to exploit these
> vulnerabilities.  However, due to the method with which news is
> propagated, once a single server has been broken into, all of its
> peers can be accessed.

	Okay; I only run INN 1.5.1 on the backbone feed machine, so as
there's no nnrpd processes running (ever!) I'm not vulnerable to local
postings. 

	However, several peers use INN 1.5.1.  Am I reading this right as
saying that a mangled post in the stream accepted from a compromised peer
will compromise my site as well?  The alert text is unclear as all
references to overflows are in nnrpd; does the same problem occur in innd
when accepting such a post from a peer?

	Given everyone's comments on 1.6b1, I can't afford to risk moving
to it, but the security folks are breathing heavy about this one.

-- 
Cerebus <tmiller@ims.advantis.com>
PGP Fingerprint: 
             BC AB 28 19 A6 A4 FF 5B  CA 4D B4 03 3A A7 F4 5C

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19517
Author: Christophe Wolfhugel
Date: Wed, 23 Jul 1997 00:00
12 lines
1042 bytes
Matt Dillon <dillon@best.net> wrote:
>    I would prefer not to have a repeat of the 'upgrade to 1.6b1' debacle.

No one from the ISC did recommend installing 1.6b1, so those getting
the debacle accepted the risks. The SNI advisory should have been delayed
a few days.

-- 
Christophe Wolfhugel -+- Maison: wolf@schnok.fr.net

Re: Q: list of available news server software
#19518
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
24 lines
1775 bytes
"Rainer Perske" <perske@uni-muenster.de> writes:

> Well, we have to accept the fact, that there is no stable, secure version
> of INN out there and that we have no way to force the ISC to offer such a
> version to the public.

Lets suppose I was able to find the time to generate patches for all
versions out there. Which ones to do first? There a lot of people still on
pre 1.4sec out there. Do I support them first and make you wait (if you're
not in that set) or do I support new versions first and make the older
versions wait. No matter which way it goes someone is gonna be pissed off
that they've got to wait.

Until someone throws a heap of money at the ISC to pay for real engineering
and QA support, you're only gonna get the best service I can give in my
spare time.

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

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19520
Author: Forrest J. Cavalier III
Date: Wed, 23 Jul 1997 00:00
59 lines
3064 bytes
In article <yy3afje5ie3.fsf@velo.pp.vix.com>, brister@vix.com wrote...
>
>dillon@best.net (Matt Dillon) writes:
>
>>     In anycase, what I would like to see is a security patch for 1.5.x.
>
>That won't be happening. There's too much involved to try and support
>patched multiple version.
>
>James
>-- 
>James Brister                                            brister@vix.com
>Internet Software Consortium      http://www.isc.org     inn@isc.org 

I'm going to do it.  It looks like my machine survey will have to
wait.

INN deserves commercial-quality support.  Unfortunately, it is apparent
that the ISC does not have the finances to provide it.

Since the voluntary contribution method of supporting the ISC, which
supports INN is not working, I'm going to try it a bit differently....
Apologies if commercial software offends you....

I brought the INN/Usenet RKT to you for free.  I have more that can
be done, if I can make it pay for my time.  The ISC is not supporting
INN the way I would due to economic constraints.  I think it is
time for a different model of support.

1. If you are interested in receiving the 1.6 security enhancements
(if any-- I haven't reversed engineered them) as patches to 1.5.1
for a Usenet RKT subscription fee of $100, then e-mail me.  They
are not ready, so don't send any money yet.  Your subscription
would include 1 year of any security updates developed for INN 1.5.1,
as well as access to subscriber exclusive areas of the Usenet RKT
which are planned.  Your contribution will support improvements to
the RKT, and additional support work on INN by Mib Software.

Yes, right now this is vaporware.  If I receive enough responses,
then it will be a go-ahead.  This announcement is a market test.

(Although if you like the RKT, a voluntary subscription of $100
would definitely allow more support to be given to it.)

2. If you are interested in receiving $100 for reporting any previously
unpublished bug in INN 1.5.1, then e-mail me.  This is not a promise
to pay you, but it is a serious offer.

Stay tuned for more details, including a limited time offer of INN
installation and setup for a flat-fee of $200.00.  Sure you can get
INN for free, but how do you value your time?  Contact me if you
are interested.

Forrest Cavalier, Mib Software, INN customization and consulting.
http://www.mibsoftware.com/userkt/userkt.html


Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19521
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
28 lines
1619 bytes
doug@cc.ysu.edu (Doug Sewell) writes:
> Thus spake Matt Dillon <dillon@best.net>:
> >
> >   Ditto on a FreeBSD box.  1.5.1 is stable.  It does require a bit of work
> >   to upgrade to 1.5.1 from a 1.4* distribution, but it's worth it.
> 
> And probably even more work to upgrade to 1.6x - particularly if it's
> still shaky.

Moving from 1.5.1 to 1.6 should be a very easy task (but I'm biased, so
don't believe me).

> There's probably no point in going to 1.5* unless it's a required step
> to get to 1.6.

It's not required, but it'll probably be easier to go 1.4 -> 1.5.1 -> 1.6.

> I'm not amused.

Me neither.

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

Re: What changed 1.6 vs 1.5.1 (preliminary)
#19522
Author: Miquel van Smoorenburg
Date: Wed, 23 Jul 1997 00:00
31 lines
2016 bytes
In article <5r5pq3$6lc$1@news1.epix.net>,
Forrest J. Cavalier III <mibsoft@epix.net> wrote:
>I think it really is an overstatement to say a stack buffer
>overrun could be used to "execute arbitrary binary code."
>There are so many variable involved that I really don't see
>it as a risk.  There are so many variables involved of stack
>pointer location, compiler choice, INN options, etc, not to
>mention CPU instruction set, that I can't see how this hole
>could be exploited realistically.

Well, RedHat Linux and Debian Linux include precompiled versions of
inn-1.5.1. If you hack one of those, you can hack them all. There
are probably more precompiled binaries for other OSes around.

>The announcement says that the hole could be used to open
>up a shell.  Yeah right.  Show me how.

You'd be surprised. Do you subscribe to bugtraq? Ever read
"BoS: Smashing The Stack For Fun And Profit" by Aleph One? Detailed analysis,
description and example code to do exactly this.

Look for it one of the the BugTraQ archives.

Mike.
-- 
| Miquel van Smoorenburg |  "I need more space" "Well, why not move to Texas" |
| miquels@cistron.nl     |  "No, on my account, stupid." "Stupid? Uh-oh.."    |
|     PGP fingerprint: FE 66 52 4F CD 59 A5 36  7F 39 8B 20 F1 D6 74 02       |

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19525
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
22 lines
1425 bytes
Michal Jankowski <michalj@fuw.edu.pl> writes:

> Yes, I do appreciate that INN is free. But Sun's security patches to
> their operating system(s) are free, too. Last time I checked, they
> supported Solaris versions 1.1, 1.1.1, 1.1.2, 2.2, 2.3, 2.4, 2.5 and
> 2.5.1. 
> 
> 8-)

Remind me again how many engineers they have working on that support 40
hours a week? And now remind me how much you paid for the product in the
first place.

I thought so.

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

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19527
Author: Nathan J. Mehl
Date: Wed, 23 Jul 1997 00:00
30 lines
1918 bytes
On 23 Jul 1997 12:44:10 -0500, tmiller@acropolis.ibm.net wrote:
>
>> So for those of us who maintain INN in a production environment, our
>> choice is between running a completely compromised release version,
>> or a rushed first beta of dubious quality (with enough significant
>> operational changes that it's not at all a drop-in replacement)?
>
>	You have hit the proverbial nail on the proverbial head.  Maybe I
>should go pressure Highwind again for an AIX port of Cyclone...

Unfortunately Cyclone, as much as I love and adore it, is only
half of the equation.  We also need something that can interact
with end-users.

Don't get me wrong -- I'm sure that as 1.6 stabilizes, it will become
a worthwhile piece of software.  (The new slaving-over-streaming
features alone will make me a very happy man if it works as described.)
It's just the ISC's approach (however justifiable) to fixing 1.5.1
that's currently got me steamed.

-n

-- 

------------------------------------------------------<memory@blank.org>
     Well, Mister President, it's the bees and the spiders again...
<http://www.blank.org/memory/>------------------------------------------

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19528
Author: Steinar Haug
Date: Wed, 23 Jul 1997 00:00
18 lines
1263 bytes
[Doug Sewell]

|   While I appreciate ISC taking over INN rather than letting it die...
|   I'm stuck.
|   
|   I never felt 1.5 was stable.  I run Solaris and don't feel 1.6 is
|   stable in my environment.  So what do I do now ?
..
|   Install something else ? (like what ?)

We run 1.5.1 on a Solaris 2.5.1 box. It's been *extremely* stable for
us (as in: *no* crashes, *no* discernible memory leaks, innd staying
up for months at a time). We're happy.

Steinar Haug, Nethelp consulting, sthaug@nethelp.no

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19529
Author: Heiko W.Rupp
Date: Wed, 23 Jul 1997 00:00
27 lines
1439 bytes
In <5r53ho$a9h@unix1.cc.ysu.edu>, Doug Sewell wrote:
|I never felt 1.5 was stable.  I run Solaris and don't feel 1.6 is
|stable in my environment.  So what do I do now ?

Hm. Can't follow on that with 1.5.1. Did you apply all Solaris
patches?

|Install 1.6.whatever and deal with the problems there ? 

1.6 is still beta code - so why do you complain?

|Fix 1.4unoff4 (what I'm running now) ?

Noone keeps you from patching anything you have.

|Install something else ? (like what ?)

Netrape, Dnews, diablo, C News + NNTP reference, Micro$oft News ..


-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Q: list of available news server software
#19530
Author: Rainer Perske
Date: Wed, 23 Jul 1997 00:00
49 lines
2490 bytes
-----BEGIN PGP SIGNED MESSAGE-----

On 23 Jul 1997, James Brister of ISC wrote:

> >     In anycase, what I would like to see is a security patch for 1.5.x.
>=20
> That won't be happening. There's too much involved to try and support
> patched multiple version.

Well, we have to accept the fact, that there is no stable, secure version
of INN out there and that we have no way to force the ISC to offer such a
version to the public.

Thank you very very much, Rich and ISC, for all the work you have done so
far. INN 1.3 and 1.4sec ran without problems for a long time on my server.

But concerning all the problems (endless expire etc.) I had to fight with
in the last weeks after increasing the number of groups, I consider
installing another software.

Does anybody know where I can find a list of available (free or
commercial) news servers? Perhaps even compared with each other? Perhaps
even a software storing the articles in a data base instead of primitively
storing files in a file system?

In the moment, I even prefer buying a commercial product over continuing
the fight with INN.=20

thx
Rainer Perske (webmaster+newsadmin) Universit=E4tsrechenzentrum M=FCnster
Phone +49 251 83 31582   I prefer e-mail.   Ich darf ge-du-zt werden.
http://www.uni-muenster.de/URZ/Mitarbeiter/RainerPerske.html  (Beruf)
http://www.muenster.de/volleyball/RainerPerske.html    (Privat/Sport)

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

iQCVAwUBM9YHfi0BCRuKIJelAQHbZQQAj74HaiXZLjjL2I9g5ErNGioRF8toIEJ8
MosoTbaQHK1nEhq4fs1obrOdoyOrwMaILT2Jj2ZpQ4ECgKPYvDdn32pK/harLRDc
mYXARP4ElH+723HjjfQ49nyxAnptdLP1w7+Uiq6nF4teWtWa9KydFbzF7tQmlDwD
sdoQ4NW/tSE=3D
=3DmJBC
-----END PGP SIGNATURE-----



Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19535
Author: Matt Dillon
Date: Wed, 23 Jul 1997 00:00
36 lines
2169 bytes
:In article <yy3afjdmw2e.fsf@velo.pp.vix.com>,
:James Brister  <brister@vix.com> wrote:
:>
:...
:>
:>The patch set to eliminate the security bugs was pretty big, and the
:>instability in the 1.6 betas is due mostly, if not completely, to that
:>patch set. So you'd have two choices, unstable, but improving 1.6, or
:>unstable patched previous versions. I don't have the time (INN is done in
:>what little spare time I have) to provide, and improve, patch sets for the
:>4 or more versions that people out there are running.
:>
:>James
:>-- 
:>James Brister                                            brister@vix.com
:>Internet Software Consortium      http://www.isc.org     inn@isc.org 
    
    Well, I don't think that's quite fair.  I spent an hour going over the
    diffs between 1.5.1 and 1.6b1 and only a small portion of the many
    changes closed actual security holes.  There was also a lot of cleanup 
    code and general sprintf->snprintf and other modifications that were not
    necessary (i.e. not security holes), plus a ton of new code and
    interdependancies.

    I think 1.6b1 may be a case of making too many changes all at once without
    sufficient testing.  It's going to take a while to find all the bugs.

    It would be nice if there were a list of security holes closed so we 
    could reimplement them in 1.5.1 and generate a patch set.  Such a list
    may not exist.  Oh well.

						-Matt


Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19537
Author: tmiller
Date: Wed, 23 Jul 1997 00:00
17 lines
1291 bytes
memory@bigtime.blank.org (Nathan J. Mehl) writes:

> So for those of us who maintain INN in a production environment, our
> choice is between running a completely compromised release version,
> or a rushed first beta of dubious quality (with enough significant
> operational changes that it's not at all a drop-in replacement)?

	You have hit the proverbial nail on the proverbial head.  Maybe I
should go pressure Highwind again for an AIX port of Cyclone...

-- 
Cerebus <tmiller@ims.advantis.com>
PGP Fingerprint: 
             BC AB 28 19 A6 A4 FF 5B  CA 4D B4 03 3A A7 F4 5C

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19538
Author: Gary Palmer
Date: Wed, 23 Jul 1997 00:00
24 lines
1716 bytes
In article <5r350d$hmh$1@flea.best.net>,
	dillon@best.net (Matt Dillon) writes:
>     In anycase, what I would like to see is a security patch for 1.5.x.  So
>     many source code changes were made in 1.6* that I can't determine which
>     are general cleanup, which are additions, and which address the security
>     hole.

What I, and a growing number of other people, would like is to see the
INN CVS,RCS,SCCS, etc tree made available by SUP,CTM,CVSUP or some
other protocol so that people who rely on inn, and don't have time to
wade through several hundred k of diffs between releases and try to
fathom what on earth is going on, can see the log messages instead,
and have a lot more control over their local inn versions.

I have no idea if this has been ask for before on inn-workers, but it
is something that I would like to see happen sooner rather than
later. Perhaps I'm spoilt being used to FreeBSD, but that is no reason
not to ask :)

Gary


Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19543
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
14 lines
1049 bytes
dillon@best.net (Matt Dillon) writes:

>     In anycase, what I would like to see is a security patch for 1.5.x.

That won't be happening. There's too much involved to try and support
patched multiple version.

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

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19547
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
23 lines
1807 bytes

tmiller@acropolis.ibm.net writes:
> memory@bigtime.blank.org (Nathan J. Mehl) writes:
> 
> > So for those of us who maintain INN in a production environment, our
> > choice is between running a completely compromised release version,
> > or a rushed first beta of dubious quality (with enough significant
> > operational changes that it's not at all a drop-in replacement)?

The patch set to eliminate the security bugs was pretty big, and the
instability in the 1.6 betas is due mostly, if not completely, to that
patch set. So you'd have two choices, unstable, but improving 1.6, or
unstable patched previous versions. I don't have the time (INN is done in
what little spare time I have) to provide, and improve, patch sets for the
4 or more versions that people out there are running.

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

What changed 1.6 vs 1.5.1 (preliminary)
#19551
Author: Forrest J. Cavalier III
Date: Wed, 23 Jul 1997 00:00
99 lines
3989 bytes
What a mess.

It is a piece of cake to generate patch files to go from 1.5.1 to
1.6.  (Anyone can run diff, right?)

But since no-one (not even James) reverse engineered the changes,
I am in the process of doing it.

It is going to take a while.

But just to let everyone in on what I find so far:

1. Yes there are a FEW places where I see security holes that
are fixed with snprintf.  But tell me, under what circumstance do you think 
sprintf is a security risk with the following code.  Was all this hassle
really necessary?

For example:  
     #define SMBUF 256
     . . .
     char bytesbuff[SMBUF];
     . . .

Perfectly legitimate (i.e. COMPLETELY SAFE) code
near line 646 in innd.art.c

     (void)sprintf(bytesbuff, "Bytes: %ld\n", size);

was changed to:

     (void)snprintf(bytesbuff, sizeof(bytesbuff), "Bytes: %ld\n", size);

There are many instances of this.  And this is for no apparent reason.
Was this a plan for when INT_LONG reaches 100000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000000000000000000000000000000000?

Give us a break.  What's next?  Assigning variables twice, "just to make
sure?"

Don't get me wrong, I code with snprintf as much as I can, but to change
an installed base of software for no good reason is not a good idea.


2. The other 1.6-ism is to replace code like:
     (void)strcpy(copy, buff);

with the admittedly safer:
     (void)strncpy(copy, buff, sizeof(copy) - 1);
     copy[sizeof(copy) - 1] = '\0';

But for heavens sake, couldn't someone define a new function
for the purpose?  My personal software library has a function:

     void strn0cpy(char *dest,const char *src,int count);

which makes much cleaner code.

At least they used sizeof(copy) instead of some constant.



But if the liberal changing of snprintf is any indication, I
bet there are lots of strcpy()s which were safe that got
arbitrarily changed.


3. I have been thinking about the security hole as announced.

I think it really is an overstatement to say a stack buffer
overrun could be used to "execute arbitrary binary code."
There are so many variable involved that I really don't see
it as a risk.  There are so many variables involved of stack
pointer location, compiler choice, INN options, etc, not to
mention CPU instruction set, that I can't see how this hole
could be exploited realistically.

The announcement says that the hole could be used to open
up a shell.  Yeah right.  Show me how.

I think realistically, someone could crash your INN or corrupt
your history database.  And since a crashed INN does not send messages,
it is likely that the sinister message does not propagate very far.
(DNEWS, Diablo, etc might propagate them.)

Anyone else have an opinion on this so-called hole?  Anyone have
any indication it was exploited?  What am I missing?

Forrest Cavalier, Mib Software, INN customization and consulting

Still working on sorting out all these changes.  The CHANGES file
is a *bit* brief.  (Major understatement) and the comments on
bug fixes are spotty at best.



Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19554
Author: Doug Sewell
Date: Wed, 23 Jul 1997 00:00
22 lines
1430 bytes
Thus spake Matt Dillon <dillon@best.net>:
>
>   Ditto on a FreeBSD box.  1.5.1 is stable.  It does require a bit of work
>   to upgrade to 1.5.1 from a 1.4* distribution, but it's worth it.

And probably even more work to upgrade to 1.6x - particularly if it's
still shaky.

There's probably no point in going to 1.5* unless it's a required step
to get to 1.6.  It looks like I'm going to be up late the next few
evenings making this work (INN isn't supported, although the users will
whine like stuck pigs if it's not running...)

I'm not amused.
-- 
Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/~doug/)
E-mail advertisers: put me on your "don't call, don't e-mail" list.

No one ever becomes extremely vile and wicked all of a sudden. - D.J.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19557
Author: tmiller
Date: Wed, 23 Jul 1997 00:00
17 lines
1291 bytes
memory@bigtime.blank.org (Nathan J. Mehl) writes:

> So for those of us who maintain INN in a production environment, our
> choice is between running a completely compromised release version,
> or a rushed first beta of dubious quality (with enough significant
> operational changes that it's not at all a drop-in replacement)?

	You have hit the proverbial nail on the proverbial head.  Maybe I
should go pressure Highwind again for an AIX port of Cyclone...

-- 
Cerebus <tmiller@ims.advantis.com>
PGP Fingerprint: 
             BC AB 28 19 A6 A4 FF 5B  CA 4D B4 03 3A A7 F4 5C

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19558
Author: Doug Sewell
Date: Wed, 23 Jul 1997 00:00
37 lines
1781 bytes
Thus spake James Brister  <brister@vix.com>:
>dillon@best.net (Matt Dillon) writes:
>
>>     In anycase, what I would like to see is a security patch for 1.5.x.
>
>That won't be happening. There's too much involved to try and support
>patched multiple version.

While I appreciate ISC taking over INN rather than letting it die...
I'm stuck.

I never felt 1.5 was stable.  I run Solaris and don't feel 1.6 is
stable in my environment.  So what do I do now ?

Shut my server down and deal with my users and downstream feeds ?

Continue running and take risks ? (Posting is limited locally, but as
was noted, that's not a help).

Install 1.6.whatever and deal with the problems there ? 

Fix 1.4unoff4 (what I'm running now) ?

Install something else ? (like what ?)

None of the above sounds particularly appealing )-: and in all
cases that involve installing/fixing, what projects do I put aside
to do this ?

-- 
Doug Sewell (doug@cc.ysu.edu) (http://cc.ysu.edu/~doug/)
E-mail advertisers: put me on your "don't call, don't e-mail" list.

No one ever becomes extremely vile and wicked all of a sudden. - D.J.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19559
Author: Michal Jankowski
Date: Wed, 23 Jul 1997 00:00
22 lines
1308 bytes
James Brister <brister@vix.com> writes:
> dillon@best.net (Matt Dillon) writes:
> 
> >     In anycase, what I would like to see is a security patch for 1.5.x.
> 
> That won't be happening. There's too much involved to try and support
> patched multiple version.

Well, supporting _one_ stable, production version shouldn't be that
hard. No, 1.6 ___BETA___ doesn't count.

Yes, I do appreciate that INN is free. But Sun's security patches to
their operating system(s) are free, too. Last time I checked, they
supported Solaris versions 1.1, 1.1.1, 1.1.2, 2.2, 2.3, 2.4, 2.5 and
2.5.1. 

8-)

  MJ

Re: What changed 1.6 vs 1.5.1 (preliminary)
#19560
Author: Matt Dillon
Date: Wed, 23 Jul 1997 00:00
40 lines
2074 bytes
:In article <5r5pq3$6lc$1@news1.epix.net>,
:Forrest J. Cavalier III <mibsoft@epix.net> wrote:
:>What a mess.
:..
:>
:>3. I have been thinking about the security hole as announced.
:>
:>I think it really is an overstatement to say a stack buffer
:>overrun could be used to "execute arbitrary binary code."
:>There are so many variable involved that I really don't see
:>it as a risk.  There are so many variables involved of stack

    Believe me, it's not an overstatement.  There are recipies
    for locating and exploiting stack overflow holes and, 
    unfortunately, they work.  There have been numerous attacks
    in the last year using such holes.  Though I don't know of any
    specific attacks against INN you can be sure that now it's
    out in the open it will be exploited.

:>
:>The announcement says that the hole could be used to open
:>up a shell.  Yeah right.  Show me how.

    The code simply exec()'s a shell using the socket for stdin and stdout.
    It's only a few lines of assembly.

:>Forrest Cavalier, Mib Software, INN customization and consulting
:>
:>Still working on sorting out all these changes.  The CHANGES file
:>is a *bit* brief.  (Major understatement) and the comments on
:>bug fixes are spotty at best.

    Good luck!  I gave up after an hour and just went over the posting
    code to close obvious holes.

						-Matt


Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19561
Author: Jeff Garzik
Date: Wed, 23 Jul 1997 00:00
23 lines
1652 bytes
(cc'd to author)

tmiller@acropolis.ibm.net wrote:
> memory@bigtime.blank.org (Nathan J. Mehl) writes:
> > So for those of us who maintain INN in a production environment, our
> > choice is between running a completely compromised release version,
> > or a rushed first beta of dubious quality (with enough significant
> > operational changes that it's not at all a drop-in replacement)?

>         You have hit the proverbial nail on the proverbial head.  Maybe I
> should go pressure Highwind again for an AIX port of Cyclone...


If you just need news routing, get Diablo and run it on AIX.  If you
need to support readers as well, neither Cyclone nor Diablo will do any
good (until they both release their newsreader versions, anyway)....
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Re: What changed 1.6 vs 1.5.1 (preliminary)
#19564
Author: Forrest J. Cavalier III
Date: Wed, 23 Jul 1997 00:00
44 lines
2086 bytes
Posted to news.software.nntp and e-mailed.  This is an update as I
discover more.

In article <5r5pq3$6lc$1@news1.epix.net>, mibsoft@epix.net wrote...
>
>What a mess.
>
[snip]

4. More unnecessary "fixes" somewhere in innd/art.c

#ifndef INN1P6
        (void)sprintf(buff, "Bad \"Date\" header -- \"%s\"", MaxLength(p, p));
#else /* INN1P6 */
        (void)snprintf(buff, sizeof(buff),
                "Bad \"Date\" header -- \"%s\"", MaxLength(p, p));
#endif /* INN1P6 */


The sole purpose of the MaxLength() routine (innd.c) is to return a buffer
that is less than 80 characters long, containing the relevant part of the
string.  

In this case (and many similar) sprintf is completely safe, because buff is 
declared char buff[SMBUF]; (and SMBUF is by default 256.)  (I suppose you
should worry if configdata was changed.  But who would have done that?)

To me, it appears that whoever made the changes didn't understand the
existing code. In my experience, this is a good recipe for BREAKING
something.

--------------------------------------------------------------------

James, do you have a list of ACTUAL bugs in 1.5.1?  It would make my task
much easier....

Forrest Cavalier, Mib Software, INN customization and consulting
http://www.mibsoftware.com/userkt/userkt.html

Back to slogging through it all...


Re: innd 1.6 ?!?!?!
#19566
Author: James Brister
Date: Wed, 23 Jul 1997 00:00
15 lines
1168 bytes
bem@news.cmc.net (brian moore) writes:

> The ISC should also include a copy of snprintf in the distribution and add
> a 'NEED_SNPRINTF' or something to the config, since many systems don't
> have it.

Check newlog-1.0.4.tar.gz inside the 1.6 tarball.

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

Re: What changed 1.6 vs 1.5.1 (preliminary)
#19567
Author: Wolfgang Rupprecht
Date: Wed, 23 Jul 1997 00:00
22 lines
1594 bytes

mibsoft@epix.net (Forrest J. Cavalier III) writes:
> But tell me, under what circumstance do you think sprintf is a
> security risk with the following code.  Was all this hassle really
> necessary?

Do you also think it's wrong when folks initialize a variable or cast
something to to shut up a "gcc -Wall" gripe?  "Eg. foo might be used
uninitialized in routine bar."  Would you rather waste people-time on
every compile ignoring certain output?

Similarly getting rid of all strcpy() and sprintf() is easier than
looking at the code and making sure its still safe after every change
near that code.  I personally would rather see the "n" routines used
if it buys us a bit of insurance against future oops's .

-wolfgang
-- 
Wolfgang Rupprecht    <wolfgang@wsrcc.com>         http://www.wsrcc.com/

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19569
Author: Matt Dillon
Date: Wed, 23 Jul 1997 00:00
156 lines
6122 bytes
:In article <5r4sgj$qkn$5@news1.epix.net>,
:Forrest J. Cavalier III <mibsoft@epix.net> wrote:
:>In article <yy3afje5ie3.fsf@velo.pp.vix.com>, brister@vix.com wrote...
:>>
:>>dillon@best.net (Matt Dillon) writes:
:>>
:>>>     In anycase, what I would like to see is a security patch for 1.5.x.
:>>
:>>That won't be happening. There's too much involved to try and support
:>>patched multiple version.
:>>
:>>James
:>>-- 
:>>James Brister                                            brister@vix.com
:>>Internet Software Consortium      http://www.isc.org     inn@isc.org 
:>
:>I'm going to do it.  It looks like my machine survey will have to
:>wait.
:>
:>INN deserves commercial-quality support.  Unfortunately, it is apparent
:>that the ISC does not have the finances to provide it.

    Well, though it would be foolish for me to bash on software which
    is, after all, free, I would like to point out that maintaining
    two source trees is not difficult, especially if you are only applying
    security fixes to the older source tree.   You don't even have to maintain
    it in a formal RCS tree.

    The best example of this is probably the FreeBSD distribution.  They
    maintain three source trees.  The result is a commercial level upgrade
    path that is much, much better then even the commercial vendors provide.
    It's why many ISPs use FreeBSD these days... because they don't have
    to worry about having to run alpha software to keep up to date.

    I would prefer not to have a repeat of the 'upgrade to 1.6b1' debacle.
    If 1.6 isn't ready yet, then a fix needs to be posted for the current
    distribution so news admins can sleep at night.

:>Since the voluntary contribution method of supporting the ISC, which
:>supports INN is not working, I'm going to try it a bit differently....
:>Apologies if commercial software offends you....

:>1. If you are interested in receiving the 1.6 security enhancements
:>(if any-- I haven't reversed engineered them) as patches to 1.5.1
:>for a Usenet RKT subscription fee of $100, then e-mail me.  They
:..
:>
:>2. If you are interested in receiving $100 for reporting any previously
:>unpublished bug in INN 1.5.1, then e-mail me.  This is not a promise
:>to pay you, but it is a serious offer.
:...
:>Forrest Cavalier, Mib Software, INN customization and consulting.
:>http://www.mibsoftware.com/userkt/userkt.html

    Eek!  Lets not fly off the handle just yet :-)

    I am perfectly willing to post my 1.5.x diffs to fix the security
    hole, at least as far as I understand the problem.  The only problem is
    that I don't know what other security holes have been plugged in
    1.6b1 because a diff of the source tree yields a huge number of 
    changes.  I made fixes to the obvious frombuf and to the Error buffer
    sprintf()'s.  Are there other places in the code that need to be
    fixed ?

    I think as long as people post diffs that are ONLY relative to the 
    base 1.5.1 distribution, there should be no confusion.  The security
    fixes should be trivial enough that they can be patched in manually
    if need be.

    (And, all you news admins:  Always keep a pristine distribution source
    tree along with your hacked tree!).

					-Matt

*** old/nnrpd/post.c	Wed Jul 23 11:17:37 1997
--- new/nnrpd/post.c	Wed Jul 23 11:17:51 1997
***************
*** 147,153 ****
  		    return NULL;
  		}
  		if (hp->Value) {
! 		    (void)sprintf(Error, "Duplicate \"%s\" header", hp->Name);
  		    return NULL;
  		}
  		for (q = &p[hp->Size + 1]; ISWHITE(*q); q++)
--- 147,153 ----
  		    return NULL;
  		}
  		if (hp->Value) {
! 		    (void)snprintf(Error, sizeof(Error), "Duplicate \"%s\" header", hp->Name);
  		    return NULL;
  		}
  		for (q = &p[hp->Size + 1]; ISWHITE(*q); q++)
***************
*** 272,278 ****
      /* Do some preliminary fix-ups. */
      for (hp = Table; hp < ENDOF(Table); hp++) {
  	if (!hp->CanSet && hp->Value) {
! 	    (void)sprintf(Error, "Can't set system \"%s\" header", hp->Name);
  	    return Error;
  	}
  	if (hp->Value) {
--- 272,278 ----
      /* Do some preliminary fix-ups. */
      for (hp = Table; hp < ENDOF(Table); hp++) {
  	if (!hp->CanSet && hp->Value) {
! 	    (void)snprintf(Error, sizeof(Error), "Can't set system \"%s\" header", hp->Name);
  	    return Error;
  	}
  	if (hp->Value) {
***************
*** 760,766 ****
      register HEADER	*hp;
      FILE		*ToServer;
      FILE		*FromServer;
!     char		buff[NNTP_STRLEN + 2], frombuf[SMBUF];
      STRING		error;
  
      /* Set up the other headers list. */
--- 760,766 ----
      register HEADER	*hp;
      FILE		*ToServer;
      FILE		*FromServer;
!     char		buff[NNTP_STRLEN + 2], frombuf[SMBUF*2];
      STRING		error;
  
      /* Set up the other headers list. */
***************
*** 797,804 ****
  	return error;
      if (idbuff != NULL)
        idbuff [0] = '\0' ;
!     
!     strcpy(frombuf, HDR(_from));
      HeaderCleanFrom(frombuf);
      p = strchr(frombuf, '@');
      if (p) {
--- 797,806 ----
  	return error;
      if (idbuff != NULL)
        idbuff [0] = '\0' ;
! 
!     snprintf(frombuf, sizeof(frombuf)/2, "%s", HDR(_from));
!     /*strcpy(frombuf, HDR(_from));*/
! 
      HeaderCleanFrom(frombuf);
      p = strchr(frombuf, '@');
      if (p) {






Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19570
Author: Matt Dillon
Date: Wed, 23 Jul 1997 00:00
26 lines
1492 bytes
:In article <5r57s0$bdq@verdi.nethelp.no>,
:Steinar Haug <sthaug@nethelp.no> wrote:
:>[Doug Sewell]
:>
:>|   While I appreciate ISC taking over INN rather than letting it die...
:>|   I'm stuck.
:>|   
:>|   I never felt 1.5 was stable.  I run Solaris and don't feel 1.6 is
:>|   stable in my environment.  So what do I do now ?
:>.
:>|   Install something else ? (like what ?)
:>
:>We run 1.5.1 on a Solaris 2.5.1 box. It's been *extremely* stable for
:>us (as in: *no* crashes, *no* discernible memory leaks, innd staying
:>up for months at a time). We're happy.
:>
:>Steinar Haug, Nethelp consulting, sthaug@nethelp.no

   Ditto on a FreeBSD box.  1.5.1 is stable.  It does require a bit of work
   to upgrade to 1.5.1 from a 1.4* distribution, but it's worth it.

					-Matt


Re: innd 1.6 ?!?!?!
#19573
Author: Marc Slemko
Date: Wed, 23 Jul 1997 00:00
13 lines
994 bytes
In <5r2ljs$ka1$1@news.cmc.net> bem@news.cmc.net (brian moore) writes:

>The ISC should also include a copy of snprintf in the distribution and add

There is.  See some readme somewhere.  It is in a .tar.gz something.

>a 'NEED_SNPRINTF' or something to the config, since many systems don't
>have it.

But I don't think it is nicely integrated.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19585
Author: Heiko W.Rupp
Date: Thu, 24 Jul 1997 00:00
14 lines
1211 bytes
In <87en8p7jc1.fsf@acropolis.ibm.net>, tmiller@acropolis.ibm.net wrote:
|	You have hit the proverbial nail on the proverbial head.  Maybe I
|should go pressure Highwind again for an AIX port of Cyclone...

Why don't you help getting security patches in 1.5* or getting 1.6 
stable instead? 

-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19591
Author: Nathan J. Mehl
Date: Thu, 24 Jul 1997 00:00
33 lines
2064 bytes
On Thu, 24 Jul 1997 08:33:22 -0500, Hugh Messenger <hugh@hiwaay.net> wrote:
>
>Slaving over streaming?  Tell me more!
>
>In particular ... does this new feature just extend the XREPLIC protocol,
>or is it something entirely new?

It doesn't use XREPLIC at all.  It takes the Xref headers from the
master server and assigns article numbers based on that.  To quote
from the 1.6b1 innd.8 man page:

     -b    If the ``-b'' flag is used then the master (as defined
          by  the  value used with the ``-S'' flag) can use stan-
          dard transfer commands (IHAVE and TAKETHIS),  and  innd
          will  use  the  values in the Xref header for assigning
          article numbers. Note that if the ``-b'' flag is  used,
          then the ``-S'' flag must be used also.

This is, in my opinion, probaby a much smarter way to go about it
than XREPLIC.  Of course, how well it will work in practice has
yet to be seen. :)

-n

-- 

------------------------------------------------------<memory@blank.org>
"`You understand the concepts of breaking down a human psyche.'  Well
sure, I work for Warner Bros."                                   (--JMS)
<http://www.blank.org/memory/>------------------------------------------

Re: Q: list of available news server software
#19602
Author: Heiko W.Rupp
Date: Thu, 24 Jul 1997 00:00
16 lines
1248 bytes
In <Pine.A41.3.96.970723150624.26530G-100000@amnesix.uni-muenster.de>, 
Rainer Perske wrote:
|In the moment, I even prefer buying a commercial product over continuing
|the fight with INN. 

If you can afford a commercial product, why can't you then afford to
support the ISC with a money donnation in order to help them to get
INN running/evolving?

-- 
Heiko W.Rupp hwr@pilhuhn.de
  INN FAQ can be found in ftp://ftp.xlink.net/pub/news/docs/
     It is also posted regularly to news.software.{b,nntp} and news.answers.

Re: Q: list of available news server software
#19609
Author: Dave Barr
Date: Thu, 24 Jul 1997 00:00
17 lines
1311 bytes
In article <yy3zprdla2y.fsf@velo.pp.vix.com>,
James Brister  <brister@vix.com> wrote:
>Lets suppose I was able to find the time to generate patches for all
>versions out there. Which ones to do first?

Concentrate only on 1.5.1.  That's the supported release.
I've dropped support for 1.4unoff4 for a while now.  If someone really
needs to fix up 1.4something, they can most likely figure out the
changes from the 1.5.1 security patch.

--Dave
-- 
http://www.cis.ohio-state.edu/~barr/
barr@cis.ohio-state.edu

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19614
Author: Sven-Ove Westberg
Date: Thu, 24 Jul 1997 00:00
24 lines
1380 bytes
In article <yy3204pmsjy.fsf@velo.pp.vix.com>,
James Brister  <brister@vix.com> wrote:
|
|Moving from 1.5.1 to 1.6 should be a very easy task (but I'm biased, so
|don't believe me).
|

What about us who runs 1.5.1+CNFS? Thats not an easy task.
When will we see the long awaited API? Is it in 1.6?
I think James said that it should be in the next release.

What has been done to the VERY outdated article storage in 1.5.1?

I think we need the security patches to 1.5.1 so they can be
applied to 1.5.1+CNFS.

Is 1.6 faster then 1.5.1+CNFS+history-cash+postcount.fix ?

Why did 1.6 use shared active and not actived?

Sven-Ove Westberg, CAD, University of Lulea, S-971 87 Lulea, Sweden.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19618
Author: Hugh Messenger
Date: Thu, 24 Jul 1997 00:00
21 lines
1261 bytes

 Nathan J. Mehl wrote in article ...

>Don't get me wrong -- I'm sure that as 1.6 stabilizes, it will become
>a worthwhile piece of software.  (The new slaving-over-streaming
>features alone will make me a very happy man if it works as described.)

Slaving over streaming?  Tell me more!

In particular ... does this new feature just extend the XREPLIC protocol,
or is it something entirely new?

>-n

   -- hugh




Re: Q: list of available news server software
#19620
Author: Rainer Perske
Date: Thu, 24 Jul 1997 00:00
58 lines
2970 bytes
-----BEGIN PGP SIGNED MESSAGE-----

On 23 Jul 1997, James Brister wrote:

> Lets suppose I was able to find the time to generate patches for all
> versions out there. Which ones to do first? There a lot of people still o=
n
> pre 1.4sec out there. Do I support them first and make you wait (if you'r=
e
> not in that set) or do I support new versions first and make the older
> versions wait. No matter which way it goes someone is gonna be pissed off
> that they've got to wait.

No no, IMHO you should support only ONE version, the newest official one,
currently 1.5.1.  Everybody understands that you cannot support older
versions in your spare time.=20

If bugs in the current official version are reported to you, you should
IMHO _first_ correct the current official version and publish the patches.
(And _then_ incorporate the corrections into the beta version.)=20

If bugs in an earlier version are reported, you should tell the
bug reporter to upgrade to the newest version and check, whether the bug
still exists.

As soon as a new version becomes official, drop any support for 1.5.1;=20
and so on.=20

> Until someone throws a heap of money at the ISC to pay for real engineeri=
ng
> and QA support, you're only gonna get the best service I can give in my
> spare time.

I see your situation and have accepted this in my last posting, and I have
already expressed my (real, not ironical!) thank to you and the great work
you have done so far.

Best greetings
Rainer Perske (webmaster+newsadmin) Universit=E4tsrechenzentrum M=FCnster
Phone +49 251 83 31582   I prefer e-mail.   Ich darf ge-du-zt werden.
http://www.uni-muenster.de/URZ/Mitarbeiter/RainerPerske.html  (Beruf)
http://www.muenster.de/volleyball/RainerPerske.html    (Privat/Sport)

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

iQCVAwUBM9dUOy0BCRuKIJelAQECQwP9E+imQZiyzgdmq43aFKi18M/DPgqh+g+q
EmgYqlU2Y9+igozUFQSMpAvW7+SEp8GLko3OI8LKLYEK+LapFRB76IhuO2nsm+SU
gP0IZWMcB8l812FZ/dUmdZvp10FKoyG7WLxsnhYt364DBqwe1T3nphdDG64ib2ba
0Dm1F9qyN5E=3D
=3D5J8B
-----END PGP SIGNATURE-----



sneakers [was Re: What changed 1.6 vs 1.5.1 (preliminary)]
#19622
Author: Dan Tedrick
Date: Thu, 24 Jul 1997 00:00
15 lines
1107 bytes
Miquel van Smoorenburg wrote:
> You'd be surprised. Do you subscribe to bugtraq? Ever read
> "BoS: Smashing The Stack For Fun And Profit" by Aleph One? Detailed analysis,
> description and example code to do exactly this.
> 
> Look for it one of the the BugTraQ archives.
> 

or go straight to Aleph One's website, http://underground.org/ for lots
of good information.

Dan Tedrick

Re: Q: list of available news server software
#19631
Author: Pete Humble
Date: Thu, 24 Jul 1997 00:00
26 lines
1952 bytes
Quoth James Brister (brister@vix.com)
in article <yy3zprdla2y.fsf@velo.pp.vix.com>:
>
>Lets suppose I was able to find the time to generate patches for all
>versions out there. Which ones to do first? There a lot of people still on
>pre 1.4sec out there. Do I support them first and make you wait (if you're
>not in that set) or do I support new versions first and make the older
>versions wait. No matter which way it goes someone is gonna be pissed off
>that they've got to wait.
>
If you were able to support just ONE stable version (say 1.5.1 or
1.4unoff4) as well as the development version then you would answer most
people's criticisms.  After all, if you choose not to upgrade to the most
recent stable version, then it can be argued that it is your problem.
Then, after a while, 1.6 (or whatever it is then called) becomes the
stable version whilst you work on 1.7 etc......  Would that be too much
extra work?

-- 
  ___    __o      Pete Humble, Computer Centre, Leicester University, U.K.
 --    _ \<,_     Email: pjh1@le.ac.uk  ICBMnet: 52 37' 23" N, 01 07' 24" W
  --  (_)/ (_)    Any connection between these opinions and those of my
================= employers is totally coincidental and not my fault.

Re: DO NOT INSTALL 1.6 or 1.6b1! (was Re: innd 1.6 ?!?!?!)
#19633
Author: Jeff Garzik
Date: Thu, 24 Jul 1997 00:00
16 lines
1223 bytes
(cc'd to author)

Hugh Messenger wrote:
> Slaving over streaming?  Tell me more!


I'm not an expert by any means, but I think it basically works by
pushing articles at the slave, who just blindly accepts the Xref headers
as valid.
-- 
Jeff Garzik					   Quality news feeds
News Administrator		       INN Technical info, Consulting
Spinne, Inc.				http://www.spinne.com/usenet/

Page 1 of 2 • 100 total messages
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