From owner-freebsd-security Sat Sep 8 18: 8:58 2001 Delivered-To: freebsd-security@freebsd.org Received: from obsecurity.dyndns.org (adsl-63-207-60-54.dsl.lsan03.pacbell.net [63.207.60.54]) by hub.freebsd.org (Postfix) with ESMTP id 0F7D837B409; Sat, 8 Sep 2001 18:08:49 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 5D4C366D0A; Sat, 8 Sep 2001 18:08:48 -0700 (PDT) Date: Sat, 8 Sep 2001 18:08:48 -0700 From: Kris Kennaway To: "Andrey A. Chernov" Cc: Kris Kennaway , Matt Dillon , Jordan Hubbard , security@FreeBSD.ORG, audit@FreeBSD.ORG Subject: Re: Fwd: Multiple vendor 'Taylor UUCP' problems. Message-ID: <20010908180848.A94567@xor.obsecurity.org> References: <5.1.0.14.0.20010908153417.0286b4b8@192.168.0.12> <200109082103.f88L3fK29117@earth.backplane.com> <20010908154617.A73143@xor.obsecurity.org> <20010908170257.A82082@xor.obsecurity.org> <20010908174304.A88816@xor.obsecurity.org> <20010909045226.A33654@nagual.pp.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="NzB8fVQJ5HfG6fxh" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010909045226.A33654@nagual.pp.ru>; from ache@nagual.pp.ru on Sun, Sep 09, 2001 at 04:52:27AM +0400 Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 09, 2001 at 04:52:27AM +0400, Andrey A. Chernov wrote: > On Sat, Sep 08, 2001 at 17:43:04 -0700, Kris Kennaway wrote: > > On Sat, Sep 08, 2001 at 05:02:57PM -0700, Kris Kennaway wrote: > >=20 > > > Looks like setting the schg flag is the only feasible containment > > > solution for now. > >=20 > > Here's a proposed fix. It just disallows anyone other than root from > > specifying an alternate configuration file, for the setuid utilities > > (which was the cause of the vulnerability here, AFAIK). >=20 > What you try to fix this way? It brokes normal users dialing to theirs > systems, they always specify their own files. Consider uu* as user level > utilities. The only point of restriction is restrict their access to > dialing devices, not to utulities. The vulnerability involves uucp being made to run arbitrary commands as the uucp user through specifying a custom configuration file - see bugtraq. There may be other problems resulting from user-specified configuration files. I don't have time to go through the code and fix up the revocation of privileges right now..in the meantime, this prevents the root exploit where a user replaces a uucp-owned binary like uustat, which is called daily by /etc/periodic. Kris --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7msEfWry0BWjoQKURAsqNAJ9in4houn79ZDPgchdBuFdR/NzTNQCfcU/A YUiKjRdCEl0osBNUB6doQ5Y= =8BHV -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message