Great Circle Associates Majordomo-Workers
(October 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Majordomo 1.94.4 released -- SECURITY FIXES
From: Chan Wilson <cwilson @ slurp . neu . sgi . com>
Date: Thu, 02 Oct 1997 16:24:12 +0200
To: majordomo-announce @ greatcircle . com, majordomo-workers @ greatcircle . com

			   Majordomo 1.94.4
			 --------------------

		  THIS IS A SECURITY BUGFIX RELEASE!

This has the advertise eval and wrapper security patch, everything
that was in the patch archive, plus a few other snippets - see below.

In the usual places:


	ftp://ftp.greatcircle.com/pub/majordomo/majordomo.tgz

        ftp://ftp-europe.sgi.com/other/majordomo/majordomo.tgz

        ftp://ftp.sgi.com/other/majordomo/majordomo.tgz

Patches can be found in the 1.94.4 subdirectory.


--Chan

archive2.pl     1.10:1.9
        revision 1.10
        date: 1997/08/27 15:07:44;  author: cwilson;  state: Exp;  lines: +22 -7
        From: coar@decus.org (Rodent of Unusual Size)
        Message-id: <97071613415025@decus.org>

        o capability for 4 digit years

            However, just in case it's not, here's a patch to archive2.pl that
            adds -D, -M, and -Y flags that have the same meanings as their
            lower-case counterparts - except that the year is 4 digits rather
            than 2.
        ----------------------------
config-test     1.18:1.17
        revision 1.18
        date: 1997/08/27 15:17:13;  author: cwilson;  state: Exp;  lines: +3 -3
        o  Checks to make sure that $log is actually a file.
        ----------------------------
config_parse.pl 1.64:1.63
        revision 1.64
        date: 1997/08/27 14:41:32;  author: cwilson;  state: Exp;  lines: +17 -1
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/config_majordomo.0 ]

        From: Bill Houle <Bill.Houle@SanDiegoCA.NCR.COM>
        Message-Id: <3.0.32.19970430180123.00989de0@www.sandiegoca.ncr.com>

        The following patches implement the 'welcome=yes/no' and
        'announcements=yes/no' keywords for Majordomo 1.94.3. Both features have
        been requested several times on the -users mailing list. In the past I had
        described how our site implemented these for 1.93 using the new_keyword()
        API function call, but since I am in the process of upgrading I figured I'd
        do it this time as a real patch. I submit them for local implementation and
        hopeful incorporation into 1.94.4. (Yes, I know these are new features
        which are not typical for inclusion in a point release. But heck, they are
        so simple its laughable...)
        ----------------------------
digest  1.23:1.22
        revision 1.23
        date: 1997/08/27 14:42:52;  author: cwilson;  state: Exp;  lines: +30 -13
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/digest.0 ]

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199703191509.JAA11070@miaow.risc.sps.mot.com>

        These patches fix some problems recently identified in digest, but are
        virtually untested. They address undefined variables when the non-C form
        of configuration is used and file globbing failures (i.e. "No messages"
        aborts when there are plenty of messages to digest). While I have the
        highest confidence in the changes, unless someone can verify them I
        can't that they be placed in the release. They should be tested
        *both* with and without using the -C option.
        ----------------------------
majordomo       1.88:1.87
        revision 1.88
        date: 1997/08/27 14:55:29;  author: cwilson;  state: Exp;  lines: +21 -41
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/majordomo.0 ]
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/majordomo.1 ]
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/majordomo.2 ]

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199705011522.KAA14948@miaow.risc.sps.mot.com>

        o Race condition:

           The problem is a window when Mj is unsubscribing an address between the
           time the list file is unlinked and the updated file is linked to the
           list file name.

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199705022106.QAA20060@miaow.risc.sps.mot.com>

        o Config lock not being freed:

           I discovered a case when a config lock isn't freed when newconfig fails
           due to errors in the settings then a following (in the same message)
           config or writeconfig command fails because set_lock() is called again
           without the lock ever being freed. I suppose I could make set_lock()
           less picky, but the problem is actually bad logic in do_newconfig(), so
           I'd rather fix that. Here's the patch against 1.94.3:

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199705051358.IAA15196@miaow.risc.sps.mot.com>

        o  EOF tests failing due to intervening filehandle resets.

           Since I use my lockf() version of shlock.pl, I discovered that the tests
           for eof on the command input stream in do_newinfo() and do_newintro()
           make a rather tenuous assumption in at least one case for each function
           because there's an intervening log() call (and resulting file locking)
           between the last input from the command stream and the eof test on the
           last filehandle read.
        ----------------------------
majordomo.pl    1.56:1.55
        revision 1.56
        date: 1997/08/27 14:58:53;  author: cwilson;  state: Exp;  lines: +10 -10
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/majordomo.pl.0 ]

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199705201456.JAA04154@miaow.risc.sps.mot.com>

        o Mungedomain doesn't work due to is_list_member() bug

           > > The problem I am having is that mungedomain seems not to work
           > > when the subscribed person is a@b.c and the From: line in the
           > > mail is a@d.b.c. [ on 1.94.3 ]
           >
           > You have also found a bug. It's even worse if you list a file other than
           > the list in 'restrict_post'. I'm working on it but since I'm out this
           > afternoon and have a training class the next 2 days, it may be awhile
           > before I have a patch for it.
           >
           > For those who care, is_list_member() in majordomo.pl clobbers
           > $clean_list before it uses it to call cf_ck_bool() to get the value
           > of 'mungedomain'. Then there's the problem of it not making sure that
           > get_config() has been called for $clean_list, not to mention that resend
           > calls is_list_member() with the value of 'restrict_post' that might not
           > even be a list at all!

           Turns out this wasn't as tricky as I feared once I made the assumption
           that only the "current list" 'mungedomain' applied. Here's patches
           against 1.94.3:
        ----------------------------
resend  1.86:1.85
        revision 1.86
        date: 1997/08/27 14:59:24;  author: cwilson;  state: Exp;  lines: +4 -8
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/majordomo.pl.0 ]

        From: Dave Wolfe <dwolfe@risc.sps.mot.com>
        Message-Id: <199705201456.JAA04154@miaow.risc.sps.mot.com>

        o Mungedomain doesn't work due to is_list_member() bug

           > > The problem I am having is that mungedomain seems not to work
           > > when the subscribed person is a@b.c and the From: line in the
           > > mail is a@d.b.c. [ on 1.94.3 ]
           >
           > You have also found a bug. It's even worse if you list a file other than
           > the list in 'restrict_post'. I'm working on it but since I'm out this
           > afternoon and have a training class the next 2 days, it may be awhile
           > before I have a patch for it.
           >
           > For those who care, is_list_member() in majordomo.pl clobbers
           > $clean_list before it uses it to call cf_ck_bool() to get the value
           > of 'mungedomain'. Then there's the problem of it not making sure that
           > get_config() has been called for $clean_list, not to mention that resend
           > calls is_list_member() with the value of 'restrict_post' that might not
           > even be a list at all!

           Turns out this wasn't as tricky as I feared once I made the assumption
           that only the "current list" 'mungedomain' applied. Here's patches
           against 1.94.3:
        ----------------------------
sample.cf       1.34:1.33
        revision 1.34
        date: 1997/08/27 15:00:31;  author: cwilson;  state: Exp;  lines: +3 -3
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/sample.cf.0 ]
        [ ftp://sol.ccsf.cc.ca.us/majordomo-patches/1.94.3/sample.cf.1 ]

        o Uncommented $config'default_subscribe_policy
        o made the sample taboo stuff valid perl5.
        ----------------------------
wrapper.c       1.8:1.7
        revision 1.8
        date: 1997/08/27 15:01:12;  author: cwilson;  state: Exp;  lines: +6 -4
        o  Fixes security hole with ENV overrun by limiting env size.
        ----------------------------


 Chan Wilson                     International      +41-32-843-3760
 Silicon Graphics, SA.           U.S.      1-888-744-8638 x476-3760
 Cortaillod, Switzerland.	                cwilson@neu.sgi.com
    "Network Analyst"  &&  Irix SA Guru  &&  Gravitational Engineer

	     Practice Acting Kind of Random.  Beauty, eh?

Indexed By Date Previous: help files
From: jkahila@world.std.com (John Kahila)
Next: /tmp full causing errors?
From: Brian Behlendorf <brian@hyperreal.org>
Indexed By Thread Previous: help files
From: jkahila@world.std.com (John Kahila)
Next: /tmp full causing errors?
From: Brian Behlendorf <brian@hyperreal.org>

Google
 
Search Internet Search www.greatcircle.com